* [PATCH v1 1/1] pinctrl: spear: Remove unused of_gpio.h inclusion
@ 2023-06-15 16:41 Andy Shevchenko
2023-06-16 6:00 ` Viresh Kumar
2023-06-16 13:05 ` Linus Walleij
0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2023-06-15 16:41 UTC (permalink / raw)
To: Andy Shevchenko, linux-arm-kernel, linux-gpio, linux-kernel
Cc: Viresh Kumar, Shiraz Hashim, soc, Linus Walleij
The of_gpio.h is not and shouldn't be used in the drivers. Remove it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/pinctrl/spear/pinctrl-spear.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pinctrl/spear/pinctrl-spear.c b/drivers/pinctrl/spear/pinctrl-spear.c
index 18de2e70ea50..b8caaa5a2d4e 100644
--- a/drivers/pinctrl/spear/pinctrl-spear.c
+++ b/drivers/pinctrl/spear/pinctrl-spear.c
@@ -18,7 +18,6 @@
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
-#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
--
2.40.0.1.gaa8946217a0b
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] pinctrl: spear: Remove unused of_gpio.h inclusion
2023-06-15 16:41 [PATCH v1 1/1] pinctrl: spear: Remove unused of_gpio.h inclusion Andy Shevchenko
@ 2023-06-16 6:00 ` Viresh Kumar
2023-06-16 13:05 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Viresh Kumar @ 2023-06-16 6:00 UTC (permalink / raw)
To: Andy Shevchenko
Cc: linux-arm-kernel, linux-gpio, linux-kernel, Viresh Kumar,
Shiraz Hashim, soc, Linus Walleij
On 15-06-23, 19:41, Andy Shevchenko wrote:
> The of_gpio.h is not and shouldn't be used in the drivers. Remove it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> drivers/pinctrl/spear/pinctrl-spear.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pinctrl/spear/pinctrl-spear.c b/drivers/pinctrl/spear/pinctrl-spear.c
> index 18de2e70ea50..b8caaa5a2d4e 100644
> --- a/drivers/pinctrl/spear/pinctrl-spear.c
> +++ b/drivers/pinctrl/spear/pinctrl-spear.c
> @@ -18,7 +18,6 @@
> #include <linux/module.h>
> #include <linux/of.h>
> #include <linux/of_address.h>
> -#include <linux/of_gpio.h>
> #include <linux/platform_device.h>
> #include <linux/seq_file.h>
> #include <linux/slab.h>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] pinctrl: spear: Remove unused of_gpio.h inclusion
2023-06-15 16:41 [PATCH v1 1/1] pinctrl: spear: Remove unused of_gpio.h inclusion Andy Shevchenko
2023-06-16 6:00 ` Viresh Kumar
@ 2023-06-16 13:05 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2023-06-16 13:05 UTC (permalink / raw)
To: Andy Shevchenko
Cc: linux-arm-kernel, linux-gpio, linux-kernel, Viresh Kumar,
Shiraz Hashim, soc
On Thu, Jun 15, 2023 at 6:42 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> The of_gpio.h is not and shouldn't be used in the drivers. Remove it.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Patch applied!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-06-16 13:06 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:41 [PATCH v1 1/1] pinctrl: spear: Remove unused of_gpio.h inclusion Andy Shevchenko
2023-06-16 6:00 ` Viresh Kumar
2023-06-16 13:05 ` Linus Walleij
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).