drm/i915/backlight: drop drm_device local variables in favor of i915
authorJani Nikula <jani.nikula@intel.com>
Wed, 7 Dec 2022 09:34:45 +0000 (11:34 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 7 Dec 2022 17:24:15 +0000 (19:24 +0200)
commit02c77424bcb35eefbdb6660571d232ff17470080
tree52c6ab3da7fa8ed47332707707a679ac745805ed
parent7177935c7d30dd50d9d03edc5d587ac0084e0a31
drm/i915/backlight: drop drm_device local variables in favor of i915

Prefer only having struct drm_i915_private *i915 around. Drop the
drm_device *dev locals.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6a791b06ab84bb8fb719cd46934eb09644e3edc7.1670405587.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_backlight.c