diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-04-30 18:57:56 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-05-09 12:29:50 +0200 |
commit | a6673cfc6b56a2dc41de416f5ea397943297b79a (patch) | |
tree | be98689ce62f42c880434a72e6f59aa3e3decb6a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 55b809df481ad862ec6b2081c658bd8bfdeec157 (diff) |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions