Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpiolib: remove duplicate inclusions

Remove second `#include <linux/err.h>`. Remove `#include <asm/errno.h>`
too as it's included by `err.h`.

Signed-off-by: Wang Jinchao <wangjinchao@xfusion.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

authored by

Wang Jinchao and committed by
Bartosz Golaszewski
5a2a2cda 0a10d107

-3
-3
include/linux/gpio/driver.h
··· 722 722 #else 723 723 724 724 #include <asm/bug.h> 725 - #include <asm/errno.h> 726 725 727 726 static inline int gpiochip_irqchip_add_domain(struct gpio_chip *gc, 728 727 struct irq_domain *domain) ··· 809 810 const char *gpio_device_get_label(struct gpio_device *gdev); 810 811 811 812 #else /* CONFIG_GPIOLIB */ 812 - 813 - #include <linux/err.h> 814 813 815 814 #include <asm/bug.h> 816 815