Input: gpio_keys - convert driver to use dev_groups
commitcf1b2a208d2e1b4c436a56672d09d12c34c06384
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2019 06:41:23 +0000 (11 23:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Aug 2019 07:02:38 +0000 (12 00:02 -0700)
tree574daeabf72c670e2618af0bed96705bfc3a96d1
parent3281ddddc205012fa3484ddd3abdfaab781af000
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