linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/1] gpio: xra1403: Remove unused of_gpio.h inclusion
@ 2023-06-15 16:26 Andy Shevchenko
  2023-06-15 18:53 ` Linus Walleij
  2023-06-19 12:44 ` Bartosz Golaszewski
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2023-06-15 16:26 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-gpio, linux-kernel
  Cc: Nandor Han, Linus Walleij, Bartosz Golaszewski, Andy Shevchenko,
	Andy Shevchenko

The of_gpio.h is not and shouldn't be used in the GPIO drivers.
Remove it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/gpio/gpio-xra1403.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpio/gpio-xra1403.c b/drivers/gpio/gpio-xra1403.c
index 51d6119e1bb4..bbc06cdd9634 100644
--- a/drivers/gpio/gpio-xra1403.c
+++ b/drivers/gpio/gpio-xra1403.c
@@ -11,7 +11,6 @@
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/of_device.h>
-#include <linux/of_gpio.h>
 #include <linux/seq_file.h>
 #include <linux/spi/spi.h>
 #include <linux/regmap.h>
-- 
2.40.0.1.gaa8946217a0b


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 1/1] gpio: xra1403: Remove unused of_gpio.h inclusion
  2023-06-15 16:26 [PATCH v1 1/1] gpio: xra1403: Remove unused of_gpio.h inclusion Andy Shevchenko
@ 2023-06-15 18:53 ` Linus Walleij
  2023-06-19 12:44 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2023-06-15 18:53 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Krzysztof Kozlowski, linux-gpio, linux-kernel, Nandor Han,
	Bartosz Golaszewski, Andy Shevchenko

On Thu, Jun 15, 2023 at 6:26 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> The of_gpio.h is not and shouldn't be used in the GPIO drivers.
> Remove it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 1/1] gpio: xra1403: Remove unused of_gpio.h inclusion
  2023-06-15 16:26 [PATCH v1 1/1] gpio: xra1403: Remove unused of_gpio.h inclusion Andy Shevchenko
  2023-06-15 18:53 ` Linus Walleij
@ 2023-06-19 12:44 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2023-06-19 12:44 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Krzysztof Kozlowski, linux-gpio, linux-kernel, Nandor Han,
	Linus Walleij, Andy Shevchenko

On Thu, Jun 15, 2023 at 6:26 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> The of_gpio.h is not and shouldn't be used in the GPIO drivers.
> Remove it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/gpio/gpio-xra1403.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-xra1403.c b/drivers/gpio/gpio-xra1403.c
> index 51d6119e1bb4..bbc06cdd9634 100644
> --- a/drivers/gpio/gpio-xra1403.c
> +++ b/drivers/gpio/gpio-xra1403.c
> @@ -11,7 +11,6 @@
>  #include <linux/module.h>
>  #include <linux/mutex.h>
>  #include <linux/of_device.h>
> -#include <linux/of_gpio.h>
>  #include <linux/seq_file.h>
>  #include <linux/spi/spi.h>
>  #include <linux/regmap.h>
> --
> 2.40.0.1.gaa8946217a0b
>

Applied, thanks!

Bart

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-19 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-15 16:26 [PATCH v1 1/1] gpio: xra1403: Remove unused of_gpio.h inclusion Andy Shevchenko
2023-06-15 18:53 ` Linus Walleij
2023-06-19 12:44 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).