summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-09-04 13:26:25 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-12-07 16:34:06 +0100
commit92c286267d62c40a7bab85f303d467085954ee3b (patch)
tree6ed5ed1eebb490f008e8f579535328f8826be619 /drivers/gpio
parentgpio: intel-mid: Remove linux/module.h and sort headers (diff)
downloadlinux-92c286267d62c40a7bab85f303d467085954ee3b.tar.xz
linux-92c286267d62c40a7bab85f303d467085954ee3b.zip
gpio: lynxpoint: Remove linux/init.h and sort headers
There is no need to include linux/init.h when at the same time we include linux/module.h. Remove redundant inclusion. While here, sort header block alphabetically for easy maintenance. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-lynxpoint.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/gpio/gpio-lynxpoint.c b/drivers/gpio/gpio-lynxpoint.c
index 46560d5913a9..8ffd237e8433 100644
--- a/drivers/gpio/gpio-lynxpoint.c
+++ b/drivers/gpio/gpio-lynxpoint.c
@@ -19,18 +19,17 @@
*
*/
-#include <linux/kernel.h>
-#include <linux/module.h>
-#include <linux/init.h>
-#include <linux/types.h>
+#include <linux/acpi.h>
#include <linux/bitops.h>
-#include <linux/interrupt.h>
#include <linux/gpio/driver.h>
-#include <linux/slab.h>
-#include <linux/acpi.h>
+#include <linux/interrupt.h>
+#include <linux/io.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
-#include <linux/io.h>
+#include <linux/slab.h>
+#include <linux/types.h>
/* LynxPoint chipset has support for 94 gpio pins */