]> www.infradead.org Git - linux.git/commit
Input: yealink - use driver core to instantiate device attributes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 10 Jul 2024 23:48:53 +0000 (16:48 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 13 Jul 2024 00:15:45 +0000 (17:15 -0700)
commit295b89a631fe2935d268a95a9dea284992a7a27d
treefbec18322a01b4f69333688ca6b27dafdfa54b82
parentb20d6bf8014b2d6fcf65c150453d95a6276fd1fa
Input: yealink - 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.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240710234855.311366-1-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/yealink.c