gpiolib: order includes alphabetically in gpiolib.h
PATCH 1/1 gpiolib: order includes alphabetically in gpiolib.h
From: Bartosz Golaszewski <[email protected]>
After adding the missing notifier.h header, let's order all includes alphabetically.
Suggested-by Andy Shevchenko <[email protected]>
Signed-off-by Bartosz Golaszewski <[email protected]>
--- drivers/gpio/gpiolib.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpio/gpiolib.h +4 -4
@@ -9,13 +9,13 @@#ifndef GPIOLIB_H #define GPIOLIB_H -#include <linux/gpio/driver.h> -#include <linux/gpio/consumer.h> /* for enum gpiod_flags */ -#include <linux/err.h> +#include <linux/cdev.h> #include <linux/device.h> +#include <linux/err.h> +#include <linux/gpio/consumer.h> /* for enum gpiod_flags */ +#include <linux/gpio/driver.h> #include <linux/module.h> #include <linux/notifier.h> -#include <linux/cdev.h> #include <linux/rwsem.h> #define GPIOCHIP_NAME "gpiochip"
Signature · 1 line
2.39.2
Quoted 4 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
After adding the missing
notifier.hheader, let's order all includes alphabetically.
Reviewed-by Andy Shevchenko <[email protected]>
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 7 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
After adding the missing
notifier.hheader, let's order all includes alphabetically.Suggested-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Reviewed-by Linus Walleij <[email protected]>
Yours,
Linus Walleij