* [PATCH v1 1/1] gpio: mpc8xxx: Remove unused of_gpio.h inclusion
@ 2023-06-15 16:25 Andy Shevchenko
2023-06-15 16:59 ` Pali Rohár
2023-06-19 12:43 ` Bartosz Golaszewski
0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2023-06-15 16:25 UTC (permalink / raw)
To: Pali Rohár, Andy Shevchenko, linux-gpio, linux-kernel
Cc: Linus Walleij, Bartosz Golaszewski, 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-mpc8xxx.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c
index 3eb08cd1fdc0..35214e9de4ce 100644
--- a/drivers/gpio/gpio-mpc8xxx.c
+++ b/drivers/gpio/gpio-mpc8xxx.c
@@ -12,7 +12,6 @@
#include <linux/spinlock.h>
#include <linux/io.h>
#include <linux/of.h>
-#include <linux/of_gpio.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
--
2.40.0.1.gaa8946217a0b
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] gpio: mpc8xxx: Remove unused of_gpio.h inclusion
2023-06-15 16:25 [PATCH v1 1/1] gpio: mpc8xxx: Remove unused of_gpio.h inclusion Andy Shevchenko
@ 2023-06-15 16:59 ` Pali Rohár
2023-06-19 12:43 ` Bartosz Golaszewski
1 sibling, 0 replies; 3+ messages in thread
From: Pali Rohár @ 2023-06-15 16:59 UTC (permalink / raw)
To: Andy Shevchenko
Cc: linux-gpio, linux-kernel, Linus Walleij, Bartosz Golaszewski,
Andy Shevchenko
On Thursday 15 June 2023 19:25:14 Andy Shevchenko 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: Pali Rohár <pali@kernel.org>
> ---
> drivers/gpio/gpio-mpc8xxx.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c
> index 3eb08cd1fdc0..35214e9de4ce 100644
> --- a/drivers/gpio/gpio-mpc8xxx.c
> +++ b/drivers/gpio/gpio-mpc8xxx.c
> @@ -12,7 +12,6 @@
> #include <linux/spinlock.h>
> #include <linux/io.h>
> #include <linux/of.h>
> -#include <linux/of_gpio.h>
> #include <linux/of_address.h>
> #include <linux/of_irq.h>
> #include <linux/of_platform.h>
> --
> 2.40.0.1.gaa8946217a0b
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] gpio: mpc8xxx: Remove unused of_gpio.h inclusion
2023-06-15 16:25 [PATCH v1 1/1] gpio: mpc8xxx: Remove unused of_gpio.h inclusion Andy Shevchenko
2023-06-15 16:59 ` Pali Rohár
@ 2023-06-19 12:43 ` Bartosz Golaszewski
1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2023-06-19 12:43 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Pali Rohár, linux-gpio, linux-kernel, Linus Walleij,
Andy Shevchenko
On Thu, Jun 15, 2023 at 6:25 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-mpc8xxx.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c
> index 3eb08cd1fdc0..35214e9de4ce 100644
> --- a/drivers/gpio/gpio-mpc8xxx.c
> +++ b/drivers/gpio/gpio-mpc8xxx.c
> @@ -12,7 +12,6 @@
> #include <linux/spinlock.h>
> #include <linux/io.h>
> #include <linux/of.h>
> -#include <linux/of_gpio.h>
> #include <linux/of_address.h>
> #include <linux/of_irq.h>
> #include <linux/of_platform.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:44 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:25 [PATCH v1 1/1] gpio: mpc8xxx: Remove unused of_gpio.h inclusion Andy Shevchenko
2023-06-15 16:59 ` Pali Rohár
2023-06-19 12:43 ` Bartosz Golaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®