summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-03-25 15:47:47 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-03-26 18:37:47 +0100
commit517ec43927c85f4d1f67f3a51e8c36e28b2a41a4 (patch)
tree377cdf4d94fa71eacae2e72d992ed82d7728ecdc
parent3c7469514dbe126a32d9d7452080570d89ff9d16 (diff)
gpio: 74x164: 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> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
-rw-r--r--drivers/gpio/gpio-74x164.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c
index 5f91d7618909..fbd8478dae3d 100644
--- a/drivers/gpio/gpio-74x164.c
+++ b/drivers/gpio/gpio-74x164.c
@@ -9,14 +9,13 @@
* published by the Free Software Foundation.
*/
-#include <linux/init.h>
-#include <linux/mutex.h>
-#include <linux/spi/spi.h>
-#include <linux/gpio/driver.h>
#include <linux/gpio/consumer.h>
+#include <linux/gpio/driver.h>
+#include <linux/module.h>
+#include <linux/mutex.h>
#include <linux/property.h>
#include <linux/slab.h>
-#include <linux/module.h>
+#include <linux/spi/spi.h>
#define GEN_74X164_NUMBER_GPIOS 8