aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-04-30 18:57:56 +0200
committerHans de Goede <hdegoede@redhat.com>2023-05-09 12:29:50 +0200
commita6673cfc6b56a2dc41de416f5ea397943297b79a (patch)
treebe98689ce62f42c880434a72e6f59aa3e3decb6a /tools/perf/scripts/python/export-to-postgresql.py
parentplatform/x86: lenovo-yogabook: Store dev instead of wdev in drvdata struct (diff)
downloadwireguard-linux-a6673cfc6b56a2dc41de416f5ea397943297b79a.tar.xz
wireguard-linux-a6673cfc6b56a2dc41de416f5ea397943297b79a.zip
platform/x86: lenovo-yogabook: Add dev local variable to probe()
Add a "struct device *dev" local variable to probe(). This is a preparation patch for making lenovo-yogabook-wmi also work on the Android version of the Yoga Book 1 which does not have a WMI interface to deal with toggling the keyboard half between touch-keyboard and wacom-digitizer mode. While at it also move the dev_set_drvdata() call to the end of probe(). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20230430165807.472798-9-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions