Skip to content
Commit 874d6fe4 authored by Jani Nikula's avatar Jani Nikula
Browse files

drm/i915/pmu: add pmu_to_i915() helper



It's tedious to duplicate the container_of() everywhere. Add a helper.

Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarAndi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231023150256.438331-1-jani.nikula@intel.com
parent 36f27350
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment