diff options
author | Armin Wolf <W_Armin@gmx.de> | 2024-10-26 21:38:02 +0200 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-10-29 15:44:21 +0200 |
commit | c382429b587ac49bd179d768f13e7fa5e7ed1787 (patch) | |
tree | 5f3f7da5443234bb41fec6451832a82a59966001 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 049571ce7678221767ec3ee5d522bc3de7d57ed3 (diff) |
platform/x86: wmi: Replace dev_to_wdev() with to_wmi_device()
Replace dev_to_wdev() with to_wmi_device() to stop duplicating
functionality.
Also switch to_wmi_device() to use container_of_const() so const
values are handled correctly.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20241026193803.8802-2-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions