aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2020-10-19 20:56:25 +0200
committerHans de Goede <[email protected]>2020-10-28 12:57:29 +0100
commit9feb0763e4985ccfae632de3bb2f029cc8389842 (patch)
treea00164c3c0208a5791b9159c82ce98a6d1bbf9b8 /lib/mpi/mpi-mod.c
parent7c936d8d26afbc74deac0651d613dead2f76e81c (diff)
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 <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions