2024-03-04 20:43:07

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH net-next v1 1/1] ieee802154: at86rf230: 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.

Signed-off-by: Andy Shevchenko <[email protected]>
---
drivers/net/ieee802154/at86rf230.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
index 6212164ffb36..f632b0cfd5ae 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at86rf230.c
@@ -11,17 +11,16 @@
*/
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/gpio/consumer.h>
#include <linux/hrtimer.h>
#include <linux/jiffies.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
-#include <linux/gpio.h>
#include <linux/delay.h>
#include <linux/property.h>
#include <linux/spi/spi.h>
#include <linux/regmap.h>
#include <linux/skbuff.h>
-#include <linux/of_gpio.h>
#include <linux/ieee802154.h>

#include <net/mac802154.h>
--
2.43.0.rc1.1.gbec44491f096



2024-03-05 07:32:20

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH net-next v1 1/1] ieee802154: at86rf230: Replace of_gpio.h by proper one

Hi Andy,

[email protected] wrote on Mon, 4 Mar 2024 19:42:17
+0200:

> 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 <[email protected]>

Acked-by: Miquel Raynal <[email protected]>

I guess this will be queued in wpan/next after the merge window,
probably by Stefan.

Thanks,
Miquèl

2024-03-06 21:21:23

by Stefan Schmidt

[permalink] [raw]
Subject: Re: [PATCH net-next v1 1/1] ieee802154: at86rf230: Replace of_gpio.h by proper one

Hello.

On 04.03.24 18:42, 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.
>
> Signed-off-by: Andy Shevchenko <[email protected]>
> ---
> drivers/net/ieee802154/at86rf230.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
> index 6212164ffb36..f632b0cfd5ae 100644
> --- a/drivers/net/ieee802154/at86rf230.c
> +++ b/drivers/net/ieee802154/at86rf230.c
> @@ -11,17 +11,16 @@
> */
> #include <linux/kernel.h>
> #include <linux/module.h>
> +#include <linux/gpio/consumer.h>
> #include <linux/hrtimer.h>
> #include <linux/jiffies.h>
> #include <linux/interrupt.h>
> #include <linux/irq.h>
> -#include <linux/gpio.h>
> #include <linux/delay.h>
> #include <linux/property.h>
> #include <linux/spi/spi.h>
> #include <linux/regmap.h>
> #include <linux/skbuff.h>
> -#include <linux/of_gpio.h>
> #include <linux/ieee802154.h>
>
> #include <net/mac802154.h>

This patch has been applied to the wpan-next tree and will be
part of the next pull request to net-next. Thanks!

regards
Stefan Schmidt