powerpc/52xx: Replace of_gpio.h by proper one
Subsystems (2)
PATCH 1/1 powerpc/52xx: Replace of_gpio.h by proper one
of_gpio.h is deprecated and subject to remove.
The driver doesn't use it directly, replace it
with what is really being used.
--- arch/powerpc/platforms/52xx/mpc52xx_common.c | 2 -- arch/powerpc/platforms/52xx/mpc52xx_gpt.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-)
arch/powerpc/platforms/52xx/mpc52xx_common.c +0 -2
@@ -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>
arch/powerpc/platforms/52xx/mpc52xx_gpt.c +1 -1
@@ -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>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
Quoted 3 lines · Andy Shevchenko
of_gpio.his deprecated and subject to remove.
The driver doesn't use it directly, replace it
with what is really being used.
Any comments on this?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Michael Ellerman
reviewerQuoted 6 lines · Andy Shevchenko
Quoted 3 lines · Andy Shevchenko
of_gpio.his 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
Quoted 11 lines · Michael Ellerman
Quoted 6 lines · Andy Shevchenko
Quoted 3 lines · Andy Shevchenko
of_gpio.his 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!
Signature · 2 lines
With Best Regards, Andy Shevchenko
Michael Ellerman
AppliedQuoted 5 lines · Andy Shevchenko
of_gpio.his 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