]> git.baikalelectronics.ru Git - kernel.git/commit
Input: gpio_keys - convert driver to use dev_groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2019 06:41:23 +0000 (23:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Aug 2019 07:02:38 +0000 (00:02 -0700)
commit69de3fe7dd1bbabe1920cdf1da6f9c57d25f2156
tree574daeabf72c670e2618af0bed96705bfc3a96d1
parentb1b2f723637dd9f22b06c1003d323e654f17d381
Input: gpio_keys - 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 bunch of sysfs files.

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