]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dmc_wl: Use i915_mmio_reg_offset() instead of reg.reg
authorGustavo Sousa <gustavo.sousa@intel.com>
Fri, 8 Nov 2024 12:57:06 +0000 (09:57 -0300)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 8 Nov 2024 17:53:57 +0000 (09:53 -0800)
commit75f5405e7f68a82531e106acbc4ae475eef3979a
tree61346e02eca3c998035a19a976a654b7c34d21ba
parentf2afd9035ebdaa54ec96db217c0aeca4e58aab9a
drm/i915/dmc_wl: Use i915_mmio_reg_offset() instead of reg.reg

The macro i915_mmio_reg_offset() is the proper interface to get a
register's offset. Use that instead of looking directly at reg.reg.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241108130218.24125-2-gustavo.sousa@intel.com
drivers/gpu/drm/i915/display/intel_dmc_wl.c