From 4cc72346f05ef549403d997d66fd517109e59d24 Mon Sep 17 00:00:00 2001
From: Xiubo Li
Date: Sun, 28 Sep 2014 01:57:14 -0700
Subject: [PATCH] led: gpio: Sort include headers alphabetically
If the inlcude headers aren't sorted alphabetically, then the
logical choice is to append new ones, however that creates a
lot of potential for conflicts or duplicates because every change
will then add new includes in the same location.
Signed-off-by: Xiubo Li
Signed-off-by: Bryan Wu
---
drivers/leds/leds-gpio-register.c | 2 +-
drivers/leds/leds-gpio.c | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/leds/leds-gpio-register.c b/drivers/leds/leds-gpio-register.c
index 1c4ed5510f35..fbd89344bec4 100644
--- a/drivers/leds/leds-gpio-register.c
+++ b/drivers/leds/leds-gpio-register.c
@@ -7,9 +7,9 @@
* Free Software Foundation.
*/
#include
+#include
#include
#include
-#include
/**
* gpio_led_register_device - register a gpio-led device
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c
index 57ff20fecf57..1b1e6176982d 100644
--- a/drivers/leds/leds-gpio.c
+++ b/drivers/leds/leds-gpio.c
@@ -10,17 +10,17 @@
* published by the Free Software Foundation.
*
*/
-#include
-#include
+#include
#include
+#include
#include
+#include
#include
-#include
#include
+#include
+#include
#include
#include
-#include
-#include
struct gpio_led_data {
struct led_classdev cdev;
--
2.30.2