]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: wdt87xx_i2c - use device core to create driver-specific device attributes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 29 Jul 2023 00:51:31 +0000 (17:51 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 6 Sep 2023 21:29:04 +0000 (14:29 -0700)
commit305dd76455038f3b2338bd0560387cf829c7567c
tree6247e15eb37e52dc251236f3854421ba54a7a12f
parent97f2bedb620c17c41fee2a7758dddbfcbaa0812b
Input: wdt87xx_i2c - use device core to create driver-specific device attributes

Instead of creating driver-specific device attributes with
devm_device_add_group() have device core do this by setting up dev_groups
pointer in the driver structure.

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