]> www.infradead.org Git - linux.git/commit
Input: ims-pcu - use driver core to instantiate device attributes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 10 Jun 2024 04:18:10 +0000 (21:18 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 20 Jun 2024 21:57:08 +0000 (14:57 -0700)
commit204d18a7a0c67352857dee1bbac517ed63f01d8e
treeb325c9f35fdb44a05abf07551cccd8e19245eace
parentdaa268ae2866ae5c80a0650c04a4989fb069b5d9
Input: ims-pcu - use driver core to instantiate device attributes

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

Link: https://lore.kernel.org/r/20240610041813.722445-1-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/ims-pcu.c