summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorGeorge Cherian <george.cherian@ti.com>2014-09-09 09:44:34 +0530
committerChanwoo Choi <cw00.choi@samsung.com>2014-09-22 16:48:47 +0900
commit62364357c184db52d556f868e493963fac2aea78 (patch)
treea95cb02176b1e380650127ef2b104d8c797ef234 /drivers/extcon
parentdc6048d7231914a608938d330a5006f9929f76c7 (diff)
downloadop-kernel-dev-62364357c184db52d556f868e493963fac2aea78.zip
op-kernel-dev-62364357c184db52d556f868e493963fac2aea78.tar.gz
extcon: gpio: Fix code cleanup
This patch fixes following minor cleanup: - Order the include files in alphabetical order. - Fix description of state_off in extcon_gpio.h - Add a descrition for check_on_resume in extcon_gpio.h Signed-off-by: George Cherian <george.cherian@ti.com> [Modify the name/description of patch to keep standary codiyg style by Chanwoo Choi] Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-gpio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c
index 5b7ec27..72f19a3 100644
--- a/drivers/extcon/extcon-gpio.c
+++ b/drivers/extcon/extcon-gpio.c
@@ -20,16 +20,16 @@
*
*/
-#include <linux/module.h>
-#include <linux/kernel.h>
+#include <linux/extcon.h>
+#include <linux/extcon/extcon-gpio.h>
+#include <linux/gpio.h>
#include <linux/init.h>
#include <linux/interrupt.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
-#include <linux/gpio.h>
-#include <linux/extcon.h>
-#include <linux/extcon/extcon-gpio.h>
struct gpio_extcon_data {
struct extcon_dev *edev;
OpenPOWER on IntegriCloud