]> git.baikalelectronics.ru Git - kernel.git/commit
Input: atkbd - switch to using dev_groups for driver-specific attributes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 3 Sep 2022 05:11:17 +0000 (22:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 3 Sep 2022 19:31:18 +0000 (12:31 -0700)
commit853a3887ec7c653792e9b5dbc6cccc513baa8daf
treefa7c992cb2e9e857b0c730559ed9f21d4d951f20
parent800b0c057600433fe1c17818938a351dd052f695
Input: atkbd - 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-1-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/atkbd.c