summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-74x164.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-03-25 14:47:47 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-03-26 18:37:47 +0100
commit517ec43927c85f4d1f67f3a51e8c36e28b2a41a4 (patch)
tree377cdf4d94fa71eacae2e72d992ed82d7728ecdc /drivers/gpio/gpio-74x164.c
parentgpio: 74x164: Make use of device properties (diff)
downloadlinux-517ec43927c85f4d1f67f3a51e8c36e28b2a41a4.tar.xz
linux-517ec43927c85f4d1f67f3a51e8c36e28b2a41a4.zip
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>
Diffstat (limited to 'drivers/gpio/gpio-74x164.c')
-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