aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-10-19 20:56:25 +0200
committerHans de Goede <hdegoede@redhat.com>2020-10-28 12:57:29 +0100
commit9feb0763e4985ccfae632de3bb2f029cc8389842 (patch)
treea00164c3c0208a5791b9159c82ce98a6d1bbf9b8 /tools/perf/scripts/python
parentplatform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines (diff)
downloadlinux-9feb0763e4985ccfae632de3bb2f029cc8389842.tar.gz
linux-9feb0763e4985ccfae632de3bb2f029cc8389842.zip
platform/x86: acer-wmi: Cleanup accelerometer device handling
Cleanup accelerometer device handling: -Drop acer_wmi_accel_destroy instead directly call input_unregister_device. -The information tracked by the CAP_ACCEL flag mirrors acer_wmi_accel_dev being NULL. Drop the CAP flag, this is a preparation change for allowing users to override the capability flags. Dropping the flag stops users from causing a NULL pointer dereference by forcing the capability. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20201019185628.264473-3-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions