Re: [Intel-gfx] [PATCH 1/3] drm/i915/pmu: add pmu_to_i915() helper
Hi Jani, On Mon, Oct 23, 2023 at 06:02:54PM +0300, Jani Nikula wrote: > It's tedious to duplicate the container_of() everywhere. Add a helper. > > Signed-off-by: Jani Nikula Reviewed-by: Andi Shyti Andi
[Intel-gfx] [PATCH 1/3] drm/i915/pmu: add pmu_to_i915() helper
It's tedious to duplicate the container_of() everywhere. Add a helper. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_pmu.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_pmu.c b/drivers/gpu/drm/i915/i915_pmu.c index 108b675088