drm/i915:Remove unused parameter in marco
authorHe Lugang <helugang@uniontech.com>
Wed, 25 Sep 2024 06:40:16 +0000 (14:40 +0800)
committerJani Nikula <jani.nikula@intel.com>
Wed, 2 Oct 2024 13:08:57 +0000 (16:08 +0300)
commit09b003ad1dd6a4bf1b364e8f03cba87b2de38d21
treea664e940d177c41ddd76d6d57d8f221d5cd6d3fe
parent0ca97fcdba9a42f4afd66a43129fb1d6dca0a26a
drm/i915:Remove unused parameter in marco

The parameter dev_priv is actually not used in macro PORT_ALPM_CTL
and PORT_ALPM_LFPS_CTL,so remove it to simplify the code.

Reviewed-by: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: He Lugang <helugang@uniontech.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6C2E07E089F0CB73+20240925064016.733173-1-helugang@uniontech.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_alpm.c
drivers/gpu/drm/i915/display/intel_psr.c
drivers/gpu/drm/i915/display/intel_psr_regs.h