diff options
author | Kent Gibson <warthog618@gmail.com> | 2020-07-08 12:15:45 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-07-12 10:22:00 +0200 |
commit | d189f6270fe755e8540bf2ae1a9f8da693253d87 (patch) | |
tree | 63006ba4a29ddb857865c7f029cd6610b0684f3d /drivers/gpio/gpiolib-cdev.c | |
parent | ef087d8e95d9d225f83e92d02c3eae1a41955c5f (diff) |
gpiolib: cdev: sort includes
Sort the includes of gpiolib-cdev.c to make it easier to identify if a
module is included and to avoid duplication.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpiolib-cdev.c')
-rw-r--r-- | drivers/gpio/gpiolib-cdev.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/gpio/gpiolib-cdev.c b/drivers/gpio/gpiolib-cdev.c index b8b872724628..55a9b7b44304 100644 --- a/drivers/gpio/gpiolib-cdev.c +++ b/drivers/gpio/gpiolib-cdev.c @@ -1,24 +1,24 @@ // SPDX-License-Identifier: GPL-2.0 +#include <linux/anon_inodes.h> #include <linux/bitmap.h> -#include <linux/kernel.h> -#include <linux/module.h> -#include <linux/interrupt.h> -#include <linux/irqreturn.h> -#include <linux/spinlock.h> +#include <linux/cdev.h> +#include <linux/compat.h> #include <linux/device.h> #include <linux/err.h> +#include <linux/file.h> #include <linux/gpio.h> #include <linux/gpio/driver.h> -#include <linux/pinctrl/consumer.h> -#include <linux/cdev.h> -#include <linux/uaccess.h> -#include <linux/compat.h> -#include <linux/anon_inodes.h> -#include <linux/file.h> +#include <linux/interrupt.h> +#include <linux/irqreturn.h> +#include <linux/kernel.h> #include <linux/kfifo.h> +#include <linux/module.h> +#include <linux/pinctrl/consumer.h> #include <linux/poll.h> +#include <linux/spinlock.h> #include <linux/timekeeping.h> +#include <linux/uaccess.h> #include <uapi/linux/gpio.h> #include "gpiolib.h" |