]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: use class_groups instead of class_attrs
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jun 2017 08:12:40 +0000 (10:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 08:41:00 +0000 (10:41 +0200)
commitd83bb159f4c6af4a7465ed457d554d30df95e890
tree475f1e9b8670e2d0fb697f4ee6f46b695fa8dd6d
parent27104a53d02e7d5f154732f00aa8e9a05f31e08e
gpio: use class_groups instead of class_attrs

The class_attrs pointer is long depreciated, and is about to be finally
removed, so move to use the class_groups pointer instead.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: <linux-gpio@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpiolib-sysfs.c