mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
media: qcom: camss: Rename unused macro parameter
The ISPIF_VFE_m_RDI_INTF_n_PACK_CFG_0_CID_c_PLAIN() macro declares a parameter named 'c' but uses 'cid' in the macro body instead. Rename the parameter to match the identifier used in the macro body and silence the checkpatch warning: WARNING: Argument 'c' is not used in function-like macro No functional change intended. Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> Signed-off-by: Hungyu Lin <dennylin0707@gmail.com> Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
This commit is contained in:
parent
32179a552b
commit
7b1734e176
|
|
@ -83,8 +83,8 @@
|
|||
(0x270 + 0x200 * (m) + 0x4 * (n))
|
||||
#define ISPIF_VFE_m_RDI_INTF_n_PACK_CFG_1(m, n) \
|
||||
(0x27c + 0x200 * (m) + 0x4 * (n))
|
||||
#define ISPIF_VFE_m_RDI_INTF_n_PACK_CFG_0_CID_c_PLAIN(c) \
|
||||
(1 << ((cid % 8) * 4))
|
||||
#define ISPIF_VFE_m_RDI_INTF_n_PACK_CFG_0_CID_c_PLAIN(cid) \
|
||||
(1 << (((cid) % 8) * 4))
|
||||
#define ISPIF_VFE_m_PIX_INTF_n_STATUS(m, n) \
|
||||
(0x2c0 + 0x200 * (m) + 0x4 * (n))
|
||||
#define ISPIF_VFE_m_RDI_INTF_n_STATUS(m, n) \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user