diff options
| author | Barnabás Pőcze <pobrn@protonmail.com> | 2021-09-04 17:56:35 +0000 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2021-09-14 12:26:02 +0200 |
| commit | 57f2ce89211383947cdf93502ad53cf0d18b65fe (patch) | |
| tree | 998688cb3226db4b0cfdd9594fa6b2e4b9965b46 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | platform/x86: wmi: introduce helper to convert driver to WMI driver (diff) | |
| download | linux-57f2ce89211383947cdf93502ad53cf0d18b65fe.tar.gz linux-57f2ce89211383947cdf93502ad53cf0d18b65fe.zip | |
platform/x86: wmi: introduce helper to generate method names
Instead of "manually" constructing the ACPI method name and
hard-coding sizes in WMI functions, introduce a helper method
which generates the method name for an arbitrary WMI block.
Furthermore, save the appropriate buffer size into a macro.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210904175450.156801-28-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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
