]> git.baikalelectronics.ru Git - kernel.git/commit
Input: axp20x-pek - convert driver to use dev_groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2019 06:42:31 +0000 (23:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Aug 2019 07:02:39 +0000 (00:02 -0700)
commit1b6f0955751550b06f691ce7f06f0467192056e1
treee32e8367c177dfe77c90cf81e7204ac11047ec4b
parent852be52475bda61d41e0b275612d1f84e728b7d7
Input: axp20x-pek - convert driver to use dev_groups

Drivers now have the option to have the driver core create and remove any
needed sysfs attribute files.  So take advantage of that and do not
register "by hand" a sysfs group of attributes.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/axp20x-pek.c