gpiolib: move gpiolib-sysfs function declarations into their own header
authorKent Gibson <warthog618@gmail.com>
Wed, 8 Jul 2020 04:15:44 +0000 (12:15 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Sun, 12 Jul 2020 08:22:00 +0000 (10:22 +0200)
commitef087d8e95d9d225f83e92d02c3eae1a41955c5f
tree9be8f7462b7322606a18901a663d8d975190a16e
parent4672a4a9fbfe316e1153682b0790af6446255a50
gpiolib: move gpiolib-sysfs function declarations into their own header

Move gpiolib-sysfs function declarations into their own header.

These functions are in gpiolib-sysfs.c, and are only required by gpiolib.c,
and so should be in a module header, not gpiolib.h.

This brings gpiolib-sysfs into line with gpiolib-cdev, and is another step
towards removing the sysfs inferface.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpiolib-sysfs.c
drivers/gpio/gpiolib-sysfs.h [new file with mode: 0644]
drivers/gpio/gpiolib.c
drivers/gpio/gpiolib.h