gpiolib: cleanup for duplicated including
PATCH 1/1 gpiolib: cleanup for duplicated including
rm second #include <linux/err.h>
Signed-off-by Wang Jinchao <[email protected]>
--- include/linux/gpio/driver.h | 2 -- 1 file changed, 2 deletions(-)
include/linux/gpio/driver.h +0 -2
@@ -789,8 +789,6 @@ int gpio_device_get_base(struct gpio_device *gdev);#else /* CONFIG_GPIOLIB */ -#include <linux/err.h> -#include <asm/bug.h> static inline struct gpio_chip *gpiod_to_chip (const struct gpio_desc *desc)
Signature · 1 line
2.40.0
Quoted 1 line · Wang Jinchao
rm second
#include <linux/err.h>
rm --> Remove
Missing period at the end of the sentence.
Please, drop also asm/errno.h as they are guaranteed by the global err.h inclusion.
Signature · 2 lines
With Best Regards, Andy Shevchenko