gpiolib: Clean up headers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 7 Oct 2022 09:53:44 +0000 (12:53 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Oct 2022 09:30:26 +0000 (12:30 +0300)
commit08a149c40bdbb9cd08fd0d39c6976d713a187300
treef36f0fdd6166b42df2af922575c66cf5dc1459b6
parent52ee7c02f67808afa533c523fa3e4b66c54ea758
gpiolib: Clean up headers

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>
drivers/gpio/gpiolib-acpi.h
drivers/gpio/gpiolib-of.h
drivers/gpio/gpiolib-sysfs.h
include/linux/gpio.h
include/linux/gpio/driver.h
include/linux/gpio/machine.h