]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/rockchip: inno_hdmi: Refactor register macros to make checkpatch happy
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 12 May 2025 12:46:03 +0000 (20:46 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 8 Jul 2025 15:35:49 +0000 (17:35 +0200)
commit372a927f93fe0477dd1a5f15f11888391f8ef33f
tree9e87eebffffd299b60192b1394eb7bf016bb861c
parent9c3111df6a681f7b0057f05e7211a98d240237eb
drm/rockchip: inno_hdmi: Refactor register macros to make checkpatch happy

1. Prefer using the BIT macro
2. Macro argument 'n' as '(n)' to avoid precedence issues
3. Add a blank line after enum declarations

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-3-andyshrk@163.com
drivers/gpu/drm/rockchip/inno_hdmi.c