summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-09-04 14:26:25 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-12-07 17:34:06 +0200
commit92c286267d62c40a7bab85f303d467085954ee3b (patch)
tree6ed5ed1eebb490f008e8f579535328f8826be619
parentddc53c40cbe7b13d1086cf3b5fdc5c074a289d18 (diff)
downloadlinux-92c286267d62c40a7bab85f303d467085954ee3b.tar.bz2
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>
-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 */