diff options
| author | Jani Nikula <[email protected]> | 2022-03-03 20:19:30 +0200 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2022-03-04 11:15:20 +0200 |
| commit | 63a78bbb418c6e047bd002616bd4de9add0b6974 (patch) | |
| tree | edf97725b1417e0b95bb1f7d99294093ff35f107 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 65cd963ea239a9c4bf0e5fdf9a86213908276554 (diff) | |
drm/i915/gmbus: alloc intel_gmbus dynamically
Allocate the individual intel_gmbus structs dynamically. This lets us
hide struct intel_gmbus inside intel_gmbus.c completely. Also use the
cleanup function on the error path to avoid duplication.
Leave #include <linux/i2c.h> in i915_drv.h for now, as it pulls in a
bunch of implicit dependencies.
Signed-off-by: Jani Nikula <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions