From: Christophe JAILLET Date: Sun, 27 Nov 2022 21:52:10 +0000 (+0100) Subject: gpio: Do not include when not really needed. X-Git-Tag: v6.6.17~5913^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=923d011febb4e2fb338036bb0ee6a0a7f9b10da1;p=platform%2Fkernel%2Flinux-rpi.git gpio: Do not include when not really needed. is included only for using container_of(). Include instead, it is much lighter. Signed-off-by: Christophe JAILLET Reviewed-by: Linus Walleij Reviewed-by: Andy Shevchenko Signed-off-by: Bartosz Golaszewski --- diff --git a/include/linux/of_gpio.h b/include/linux/of_gpio.h index a5166eb..6db6272 100644 --- a/include/linux/of_gpio.h +++ b/include/linux/of_gpio.h @@ -34,7 +34,7 @@ enum of_gpio_flags { #ifdef CONFIG_OF_GPIO -#include +#include /* * OF GPIO chip for memory mapped banks