summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib-sysfs.h
AgeCommit message (Collapse)AuthorFilesLines
2022-10-24gpiolib: Clean up headersAndy Shevchenko1-0/+2
There is a few things done: - include only the headers we are direct user of - when pointer is in use, provide a forward declaration - add missing headers - group generic headers and subsystem headers - sort each group alphabetically While at it, fix some awkward indentations. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2020-07-12gpiolib: move gpiolib-sysfs function declarations into their own headerKent Gibson1-0/+24
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>