2024-03-04 17:54:08

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH net-next v1 1/1] ieee802154: mcr20a: Remove unused of_gpio.h

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

Signed-off-by: Andy Shevchenko <[email protected]>
---
drivers/net/ieee802154/mcr20a.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/net/ieee802154/mcr20a.c b/drivers/net/ieee802154/mcr20a.c
index efb1be3c644e..433fb5839203 100644
--- a/drivers/net/ieee802154/mcr20a.c
+++ b/drivers/net/ieee802154/mcr20a.c
@@ -12,7 +12,6 @@
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/skbuff.h>
-#include <linux/of_gpio.h>
#include <linux/regmap.h>
#include <linux/ieee802154.h>
#include <linux/debugfs.h>
--
2.43.0.rc1.1.gbec44491f096



2024-03-05 07:35:00

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH net-next v1 1/1] ieee802154: mcr20a: Remove unused of_gpio.h

Hi Andy,

[email protected] wrote on Mon, 4 Mar 2024 19:53:20
+0200:

> of_gpio.h is deprecated and subject to remove.
> The driver doesn't use it, simply remove the unused header.

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

Thanks,
Miquèl

2024-03-06 21:22:07

by Stefan Schmidt

[permalink] [raw]
Subject: Re: [PATCH net-next v1 1/1] ieee802154: mcr20a: Remove unused of_gpio.h

Hello.

On 04.03.24 18:53, Andy Shevchenko wrote:
> of_gpio.h is deprecated and subject to remove.
> The driver doesn't use it, simply remove the unused header.
>
> Signed-off-by: Andy Shevchenko <[email protected]>
> ---
> drivers/net/ieee802154/mcr20a.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/ieee802154/mcr20a.c b/drivers/net/ieee802154/mcr20a.c
> index efb1be3c644e..433fb5839203 100644
> --- a/drivers/net/ieee802154/mcr20a.c
> +++ b/drivers/net/ieee802154/mcr20a.c
> @@ -12,7 +12,6 @@
> #include <linux/interrupt.h>
> #include <linux/irq.h>
> #include <linux/skbuff.h>
> -#include <linux/of_gpio.h>
> #include <linux/regmap.h>
> #include <linux/ieee802154.h>
> #include <linux/debugfs.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