* [PATCH v1 1/1] powerpc/52xx: Replace of_gpio.h by proper one
@ 2024-03-13 13:56 Andy Shevchenko
2024-04-03 10:41 ` Andy Shevchenko
2024-04-22 8:16 ` Michael Ellerman
0 siblings, 2 replies; 5+ messages in thread
From: Andy Shevchenko @ 2024-03-13 13:56 UTC (permalink / raw)
To: Rob Herring, linuxppc-dev, linux-kernel
Cc: Andy Shevchenko, Aneesh Kumar K.V, Nicholas Piggin,
Naveen N. Rao, Anatolij Gustschin
of_gpio.h is deprecated and subject to remove.
The driver doesn't use it directly, replace it
with what is really being used.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
arch/powerpc/platforms/52xx/mpc52xx_common.c | 2 --
arch/powerpc/platforms/52xx/mpc52xx_gpt.c | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_common.c b/arch/powerpc/platforms/52xx/mpc52xx_common.c
index b4938e344f71..253421ffb4e5 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_common.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_common.c
@@ -12,12 +12,10 @@
#undef DEBUG
-#include <linux/gpio.h>
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
-#include <linux/of_gpio.h>
#include <linux/export.h>
#include <asm/io.h>
#include <asm/mpc52xx.h>
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_gpt.c b/arch/powerpc/platforms/52xx/mpc52xx_gpt.c
index 581059527c36..2bd6abcdc113 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_gpt.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_gpt.c
@@ -48,6 +48,7 @@
* the output mode. This driver does not change the output mode setting.
*/
+#include <linux/gpio/driver.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/io.h>
@@ -56,7 +57,6 @@
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
-#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/kernel.h>
#include <linux/property.h>
--
2.43.0.rc1.1.gbec44491f096
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] powerpc/52xx: Replace of_gpio.h by proper one
2024-03-13 13:56 [PATCH v1 1/1] powerpc/52xx: Replace of_gpio.h by proper one Andy Shevchenko
@ 2024-04-03 10:41 ` Andy Shevchenko
2024-04-04 23:58 ` Michael Ellerman
2024-04-22 8:16 ` Michael Ellerman
1 sibling, 1 reply; 5+ messages in thread
From: Andy Shevchenko @ 2024-04-03 10:41 UTC (permalink / raw)
To: Rob Herring, linuxppc-dev, linux-kernel
Cc: Aneesh Kumar K.V, Nicholas Piggin, Naveen N. Rao, Anatolij Gustschin
On Wed, Mar 13, 2024 at 03:56:45PM +0200, Andy Shevchenko wrote:
> of_gpio.h is deprecated and subject to remove.
> The driver doesn't use it directly, replace it
> with what is really being used.
Any comments on this?
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] powerpc/52xx: Replace of_gpio.h by proper one
2024-04-03 10:41 ` Andy Shevchenko
@ 2024-04-04 23:58 ` Michael Ellerman
2024-04-05 15:06 ` Andy Shevchenko
0 siblings, 1 reply; 5+ messages in thread
From: Michael Ellerman @ 2024-04-04 23:58 UTC (permalink / raw)
To: Andy Shevchenko, Rob Herring, linuxppc-dev, linux-kernel
Cc: Aneesh Kumar K.V, Naveen N. Rao, Anatolij Gustschin, Nicholas Piggin
Andy Shevchenko <andriy.shevchenko@linux.intel.com> writes:
> On Wed, Mar 13, 2024 at 03:56:45PM +0200, Andy Shevchenko wrote:
>> of_gpio.h is deprecated and subject to remove.
>> The driver doesn't use it directly, replace it
>> with what is really being used.
>
> Any comments on this?
No comment :)
I'll take it for 6.10, or do you want me to sneak it in as a fix for 6.9?
cheers
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] powerpc/52xx: Replace of_gpio.h by proper one
2024-04-04 23:58 ` Michael Ellerman
@ 2024-04-05 15:06 ` Andy Shevchenko
0 siblings, 0 replies; 5+ messages in thread
From: Andy Shevchenko @ 2024-04-05 15:06 UTC (permalink / raw)
To: Michael Ellerman
Cc: Rob Herring, linux-kernel, Nicholas Piggin, Aneesh Kumar K.V,
Naveen N. Rao, Anatolij Gustschin, linuxppc-dev
On Fri, Apr 05, 2024 at 10:58:55AM +1100, Michael Ellerman wrote:
> Andy Shevchenko <andriy.shevchenko@linux.intel.com> writes:
> > On Wed, Mar 13, 2024 at 03:56:45PM +0200, Andy Shevchenko wrote:
> >> of_gpio.h is deprecated and subject to remove.
> >> The driver doesn't use it directly, replace it
> >> with what is really being used.
> >
> > Any comments on this?
>
> No comment :)
>
> I'll take it for 6.10, or do you want me to sneak it in as a fix for 6.9?
Up to you and thank you!
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v1 1/1] powerpc/52xx: Replace of_gpio.h by proper one
2024-03-13 13:56 [PATCH v1 1/1] powerpc/52xx: Replace of_gpio.h by proper one Andy Shevchenko
2024-04-03 10:41 ` Andy Shevchenko
@ 2024-04-22 8:16 ` Michael Ellerman
1 sibling, 0 replies; 5+ messages in thread
From: Michael Ellerman @ 2024-04-22 8:16 UTC (permalink / raw)
To: Rob Herring, linuxppc-dev, linux-kernel, Andy Shevchenko
Cc: Aneesh Kumar K.V, Nicholas Piggin, Naveen N. Rao, Anatolij Gustschin
On Wed, 13 Mar 2024 15:56:45 +0200, Andy Shevchenko wrote:
> of_gpio.h is deprecated and subject to remove.
> The driver doesn't use it directly, replace it
> with what is really being used.
>
>
Applied to powerpc/next.
[1/1] powerpc/52xx: Replace of_gpio.h by proper one
https://git.kernel.org/powerpc/c/676abf7c39267080ab81597c6d4f372a10c0fc21
cheers
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-22 8:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-13 13:56 [PATCH v1 1/1] powerpc/52xx: Replace of_gpio.h by proper one Andy Shevchenko
2024-04-03 10:41 ` Andy Shevchenko
2024-04-04 23:58 ` Michael Ellerman
2024-04-05 15:06 ` Andy Shevchenko
2024-04-22 8:16 ` Michael Ellerman
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).