pinctrl: 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 14:06:48 +0000 (17:06 +0300)
commite5530adc17a79f2a93e8b35e0ce673fc33f5f663
tree7be27c5648559be91fc449b3d9cd55a39e39912e
parentde23ccb1edc84f0f59f09b157b082110fb40789c
pinctrl: 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>
13 files changed:
drivers/pinctrl/core.c
drivers/pinctrl/core.h
drivers/pinctrl/devicetree.h
drivers/pinctrl/pinconf.h
drivers/pinctrl/pinctrl-utils.h
drivers/pinctrl/pinmux.c
drivers/pinctrl/pinmux.h
include/linux/pinctrl/consumer.h
include/linux/pinctrl/devinfo.h
include/linux/pinctrl/machine.h
include/linux/pinctrl/pinconf-generic.h
include/linux/pinctrl/pinctrl.h
include/linux/pinctrl/pinmux.h