[PATCH V1 1/3] mfd: stmpe: Arrange #include <header files> in alphabetical order
Viresh Kumar
viresh.kumar at linaro.org
Fri Nov 23 05:56:18 EST 2012
This helps managing them better and also reduces chances of adding an header
file twice.
Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>
---
drivers/mfd/stmpe-spi.c | 2 +-
drivers/mfd/stmpe.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mfd/stmpe-spi.c b/drivers/mfd/stmpe-spi.c
index 9edfe86..f86e3fc 100644
--- a/drivers/mfd/stmpe-spi.c
+++ b/drivers/mfd/stmpe-spi.c
@@ -7,10 +7,10 @@
* Author: Viresh Kumar <viresh.linux at gmail.com> for ST Microelectronics
*/
-#include <linux/spi/spi.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/spi/spi.h>
#include <linux/types.h>
#include "stmpe.h"
diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c
index 8a4247b..6086481 100644
--- a/drivers/mfd/stmpe.c
+++ b/drivers/mfd/stmpe.c
@@ -7,15 +7,15 @@
* Author: Rabin Vincent <rabin.vincent at stericsson.com> for ST-Ericsson
*/
-#include <linux/gpio.h>
#include <linux/export.h>
-#include <linux/kernel.h>
+#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/irqdomain.h>
+#include <linux/kernel.h>
+#include <linux/mfd/core.h>
#include <linux/pm.h>
#include <linux/slab.h>
-#include <linux/mfd/core.h>
#include "stmpe.h"
static int __stmpe_enable(struct stmpe *stmpe, unsigned int blocks)
--
1.7.12.rc2.18.g61b472e
More information about the devicetree-discuss
mailing list