diff options
author | Barnabás Pőcze <[email protected]> | 2021-09-04 17:56:32 +0000 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2021-09-14 12:26:02 +0200 |
commit | e7b2e33449e22fdbaa0247d96f31543affe6163d (patch) | |
tree | 98fcc588d091aa9c830d9e3d1db223e4d66a2cea /tools/perf/scripts/python/intel-pt-events.py | |
parent | 736b48aae5e83b5fab16fc9f31354d2cf863aa79 (diff) |
platform/x86: wmi: introduce helper to convert driver to WMI driver
Introduce a helper function which wraps the appropriate
`container_of()` macro invocation to convert
a `struct device_driver` to `struct wmi_driver`.
Signed-off-by: Barnabás Pőcze <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions