Commit 2c3631f
committed
drm/i915/pmu: Use event_to_pmu()
i915 pointer is not needed in this function and all the others simply
calculate the i915_pmu container based on the event->pmu. Follow the
same logic as in other functions.
Reviewed-by: Ashutosh Dixit <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>1 parent 10a7210 commit 2c3631f
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
837 | | - | |
838 | | - | |
839 | | - | |
| 837 | + | |
840 | 838 | | |
841 | 839 | | |
842 | 840 | | |
843 | 841 | | |
844 | 842 | | |
845 | 843 | | |
| 844 | + | |
846 | 845 | | |
847 | 846 | | |
848 | 847 | | |
| |||
0 commit comments