Input: aiptek - switch to using dev_groups for driver-specific attributes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 3 Sep 2022 05:11:19 +0000 (22:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 3 Sep 2022 19:31:18 +0000 (12:31 -0700)
commitf4e7a254299bcdfe7bced700a7d96690b1b9a6f2
tree5b5a41308d68584131054ce6808f98a28fe45810
parentfd30a4ba81f94e7297a3fb3c0d83879a4e4b2591
Input: aiptek - switch to using dev_groups for driver-specific attributes

The driver core now has the ability to handle the creation and removal
of device-specific sysfs files, let's use it instead of registering and
unregistering attributes by hand.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220903051119.1332808-3-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/aiptek.c