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

Configure Feed

Select the types of activity you want to include in your feed.

drm/rockchip: inno_hdmi: Remove unnecessary parentheses to make checkpatch happy

Remove unnecessary parentheses to make checkpatch happy.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250512124615.2848731-4-andyshrk@163.com

authored by

Andy Yan and committed by
Heiko Stuebner
7431c546 372a927f

+1 -2
+1 -2
drivers/gpu/drm/rockchip/inno_hdmi.c
··· 1124 1124 * we assume that each word write to this i2c adapter 1125 1125 * should be the offset of EDID word address. 1126 1126 */ 1127 - if ((msgs->len != 1) || 1128 - ((msgs->addr != DDC_ADDR) && (msgs->addr != DDC_SEGMENT_ADDR))) 1127 + if (msgs->len != 1 || (msgs->addr != DDC_ADDR && msgs->addr != DDC_SEGMENT_ADDR)) 1129 1128 return -EINVAL; 1130 1129 1131 1130 reinit_completion(&hdmi->i2c->cmp);