Commit 4cc72346 authored by Xiubo Li's avatar Xiubo Li Committed by Bryan Wu

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: default avatarXiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent 0a2b4a84
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
* Free Software Foundation. * Free Software Foundation.
*/ */
#include <linux/err.h> #include <linux/err.h>
#include <linux/leds.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/leds.h>
/** /**
* gpio_led_register_device - register a gpio-led device * gpio_led_register_device - register a gpio-led device
......
...@@ -10,17 +10,17 @@ ...@@ -10,17 +10,17 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
* *
*/ */
#include <linux/kernel.h> #include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/kernel.h>
#include <linux/leds.h> #include <linux/leds.h>
#include <linux/module.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/module.h>
#include <linux/err.h>
struct gpio_led_data { struct gpio_led_data {
struct led_classdev cdev; struct led_classdev cdev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment