Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/radeon: Clean up errors in evergreen_reg.h

Fix the following errors reported by checkpatch:

ERROR: space prohibited before that close parenthesis ')'
ERROR: need consistent spacing around '<<' (ctx:WxV)
ERROR: need consistent spacing around '-' (ctx:WxV)

Signed-off-by: GuoHua Chen <chenguohua_716@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

GuoHua Chen and committed by
Alex Deucher
f63686ce 8be4f531

+5 -5
+5 -5
drivers/gpu/drm/radeon/evergreen_reg.h
··· 265 265 266 266 267 267 #define NI_DIG_BE_CNTL 0x7140 268 - # define NI_DIG_BE_CNTL_FE_SOURCE_SELECT(x) (((x) >> 8 ) & 0x3F) 269 - # define NI_DIG_FE_CNTL_MODE(x) (((x) >> 16) & 0x7 ) 268 + # define NI_DIG_BE_CNTL_FE_SOURCE_SELECT(x) (((x) >> 8) & 0x3F) 269 + # define NI_DIG_FE_CNTL_MODE(x) (((x) >> 16) & 0x7) 270 270 271 271 #define NI_DIG_BE_EN_CNTL 0x7144 272 272 # define NI_DIG_BE_EN_CNTL_ENABLE (1 << 0) ··· 284 284 285 285 #define EVERGREEN_DP_VID_STREAM_CNTL 0x730C 286 286 # define EVERGREEN_DP_VID_STREAM_CNTL_ENABLE (1 << 0) 287 - # define EVERGREEN_DP_VID_STREAM_STATUS (1 <<16) 287 + # define EVERGREEN_DP_VID_STREAM_STATUS (1 << 16) 288 288 #define EVERGREEN_DP_STEER_FIFO 0x7310 289 289 # define EVERGREEN_DP_STEER_FIFO_RESET (1 << 0) 290 290 #define EVERGREEN_DP_SEC_CNTL 0x7280 ··· 302 302 # define EVERGREEN_DP_SEC_SS_EN (1 << 28) 303 303 304 304 /*DCIO_UNIPHY block*/ 305 - #define NI_DCIO_UNIPHY0_UNIPHY_TX_CONTROL1 (0x6600 -0x6600) 306 - #define NI_DCIO_UNIPHY1_UNIPHY_TX_CONTROL1 (0x6640 -0x6600) 305 + #define NI_DCIO_UNIPHY0_UNIPHY_TX_CONTROL1 (0x6600 - 0x6600) 306 + #define NI_DCIO_UNIPHY1_UNIPHY_TX_CONTROL1 (0x6640 - 0x6600) 307 307 #define NI_DCIO_UNIPHY2_UNIPHY_TX_CONTROL1 (0x6680 - 0x6600) 308 308 #define NI_DCIO_UNIPHY3_UNIPHY_TX_CONTROL1 (0x66C0 - 0x6600) 309 309 #define NI_DCIO_UNIPHY4_UNIPHY_TX_CONTROL1 (0x6700 - 0x6600)