]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/rpm: add rpm_to_i915() helper around container_of()
authorJani Nikula <jani.nikula@intel.com>
Tue, 5 Dec 2023 12:15:45 +0000 (14:15 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 7 Dec 2023 10:44:45 +0000 (12:44 +0200)
commit261200eb7030dc796f08c1ad778bd0b18b19451b
treecbf57817551188b7d2ea2968d1119c639ba8b951
parentdcdf1bbe82f4b2a301a3692a0b1942c3fda70644
drm/i915/rpm: add rpm_to_i915() helper around container_of()

Reduce the duplication.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231205121545.2338665-1-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c