Commit e8d099e8 authored by Ran Sun's avatar Ran Sun Committed by Alex Deucher

drm/amd/dc: Clean up errors in hpd_regs.h

Fix the following errors reported by checkpatch:

ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: default avatarRan Sun <sunran001@208suo.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 784c1cc5
......@@ -36,17 +36,17 @@
#define ONE_MORE_5 6
#define HPD_GPIO_REG_LIST_ENTRY(type,cd,id) \
#define HPD_GPIO_REG_LIST_ENTRY(type, cd, id) \
.type ## _reg = REG(DC_GPIO_HPD_## type),\
.type ## _mask = DC_GPIO_HPD_ ## type ## __DC_GPIO_HPD ## id ## _ ## type ## _MASK,\
.type ## _shift = DC_GPIO_HPD_ ## type ## __DC_GPIO_HPD ## id ## _ ## type ## __SHIFT
#define HPD_GPIO_REG_LIST(id) \
{\
HPD_GPIO_REG_LIST_ENTRY(MASK,cd,id),\
HPD_GPIO_REG_LIST_ENTRY(A,cd,id),\
HPD_GPIO_REG_LIST_ENTRY(EN,cd,id),\
HPD_GPIO_REG_LIST_ENTRY(Y,cd,id)\
HPD_GPIO_REG_LIST_ENTRY(MASK, cd, id),\
HPD_GPIO_REG_LIST_ENTRY(A, cd, id),\
HPD_GPIO_REG_LIST_ENTRY(EN, cd, id),\
HPD_GPIO_REG_LIST_ENTRY(Y, cd, id)\
}
#define HPD_REG_LIST(id) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment