]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit732e2e025c68a595ae10f411bfdff5a14f469c54
tree5b5a41308d68584131054ce6808f98a28fe45810
parentaca2892870db53088a0cb876322fe48272f4df1e
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