drm/i915/gmbus: stop using implicit dev_priv in register definitions
authorJani Nikula <jani.nikula@intel.com>
Tue, 30 Aug 2022 10:28:00 +0000 (13:28 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 31 Aug 2022 15:09:20 +0000 (18:09 +0300)
commit6d737d9bff5fe98e01bedb39ab9f5be3a39b5ddf
treef17710e40ac99954773784ddc86ab4160295e7aa
parent4567084c305154b5abd427f568132432c41f13ef
drm/i915/gmbus: stop using implicit dev_priv in register definitions

Since the beginning of time, we've implicitly assumed dev_priv is
present as a local variable in many places. We've gone a long way in
removing many of them, but the register macro definitions are the last
holdout. Remove them from the gmbus macros.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a4f482c1f523d7225420f8386f1eea6d639db843.1661855191.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_gmbus.c
drivers/gpu/drm/i915/display/intel_gmbus_regs.h