]> Gentwo Git Trees - linux/.git/commit
drm/tidss: dispc: Convert accessors to macros
authorMaxime Ripard <mripard@kernel.org>
Wed, 27 Aug 2025 15:12:33 +0000 (17:12 +0200)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Mon, 1 Sep 2025 07:37:19 +0000 (10:37 +0300)
commite8e202bcbd06b9a199e431102af1a8ea2088f847
tree3f33212cef475583933cbeb8ebfb9a8eee36bf2a
parentd42ce9ea571e528645fcab48a8ef7280331f5872
drm/tidss: dispc: Convert accessors to macros

The dispc driver uses upper-cased, inlined, functions to provide
macro-like accessors to the dispc registers.

This is confusing, since upper-case is usually used by macros, and that
pattern will create gcc errors later on in this series.

Let's switch to macros to make it more consistent, and prevent those
errors down the line.

Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20250827-drm-tidss-field-api-v3-2-7689b664cc63@kernel.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
drivers/gpu/drm/tidss/tidss_dispc.c