]> www.infradead.org Git - linux.git/commit
Input: atmel_mxt_ts - use driver core to instantiate device attributes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 11 Jul 2024 04:49:12 +0000 (21:49 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 13 Jul 2024 00:15:08 +0000 (17:15 -0700)
commita122a6fd72d64de1e2f7521046823e25cb269f06
tree195cc17c5acdc8efd11c944c1270e8a0386fc562
parent8c98dddc233c233a35e56b49d5cd9e032d442300
Input: atmel_mxt_ts - use driver core to instantiate device attributes

Instead of manually creating driver-specific device attributes,
set struct driver->dev_groups pointer to have the driver core
do it.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/Zo9kSFeGOZB9b3rq@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/atmel_mxt_ts.c