aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2021-09-04 17:56:32 +0000
committerHans de Goede <hdegoede@redhat.com>2021-09-14 12:26:02 +0200
commite7b2e33449e22fdbaa0247d96f31543affe6163d (patch)
tree98fcc588d091aa9c830d9e3d1db223e4d66a2cea /tools/perf/scripts/python
parentplatform/x86: wmi: simplify error handling logic (diff)
downloadlinux-e7b2e33449e22fdbaa0247d96f31543affe6163d.tar.gz
linux-e7b2e33449e22fdbaa0247d96f31543affe6163d.zip
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 <pobrn@protonmail.com> Link: https://lore.kernel.org/r/20210904175450.156801-27-pobrn@protonmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions