gpu/drm/radeon: Clean up errors in evergreen.c
authorGuoHua Chen <chenguohua_716@163.com>
Thu, 11 Jan 2024 08:53:19 +0000 (08:53 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jan 2024 20:39:50 +0000 (15:39 -0500)
Fix the following errors reported by checkpatch:

ERROR: space prohibited after that open parenthesis '('
ERROR: space prohibited before that close parenthesis ')'

Signed-off-by: GuoHua Chen <chenguohua_716@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r300_reg.h

index 9d341cff63ee770c723073ec7b67400466b40eba..d776f929d5c379e82edc33348b5c46e8f2f5034d 100644 (file)
 #      define R300_TX_MIN_FILTER_ANISO_LINEAR              (0 << 13)
 #      define R300_TX_MIN_FILTER_ANISO_NEAREST_MIP_NEAREST (1 << 13)
 #      define R300_TX_MIN_FILTER_ANISO_NEAREST_MIP_LINEAR  (2 << 13)
-#       define R300_TX_MIN_FILTER_MASK   ( (15 << 11) | (3 << 13) )
+#       define R300_TX_MIN_FILTER_MASK   ((15 << 11) | (3 << 13))
 #      define R300_TX_MAX_ANISO_1_TO_1  (0 << 21)
 #      define R300_TX_MAX_ANISO_2_TO_1  (2 << 21)
 #      define R300_TX_MAX_ANISO_4_TO_1  (4 << 21)