aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-of.h
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-02-08 17:07:28 +0000
committerAndy Shevchenko <[email protected]>2023-03-06 10:33:02 +0000
commit380c7ba3923c6e471aff0f951a6cf42e8dec2c79 (patch)
tree32daa149c3a99fe642d1819568794018395da42e /drivers/gpio/gpiolib-of.h
parentgpiolib: Group forward declarations in consumer.h (diff)
downloadkernel-380c7ba3923c6e471aff0f951a6cf42e8dec2c79.tar.gz
kernel-380c7ba3923c6e471aff0f951a6cf42e8dec2c79.zip
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 Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'drivers/gpio/gpiolib-of.h')
-rw-r--r--drivers/gpio/gpiolib-of.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib-of.h b/drivers/gpio/gpiolib-of.h
index e5bb065d82ef..6b3a5347c5d9 100644
--- a/drivers/gpio/gpiolib-of.h
+++ b/drivers/gpio/gpiolib-of.h
@@ -4,7 +4,6 @@
#define GPIOLIB_OF_H
#include <linux/err.h>
-#include <linux/errno.h>
#include <linux/types.h>
#include <linux/notifier.h>