linux-wpan.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v1 1/1] ieee802154: at86rf230: Replace of_gpio.h by proper one
@ 2024-03-04 17:42 Andy Shevchenko
  2024-03-05  7:30 ` Miquel Raynal
  2024-03-06 21:21 ` Stefan Schmidt
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2024-03-04 17:42 UTC (permalink / raw)
  To: linux-wpan, netdev, linux-kernel
  Cc: Alexander Aring, Stefan Schmidt, Miquel Raynal, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andy Shevchenko

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>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next v1 1/1] ieee802154: at86rf230: Replace of_gpio.h by proper one
  2024-03-04 17:42 [PATCH net-next v1 1/1] ieee802154: at86rf230: Replace of_gpio.h by proper one Andy Shevchenko
@ 2024-03-05  7:30 ` Miquel Raynal
  2024-03-06 21:21 ` Stefan Schmidt
  1 sibling, 0 replies; 3+ messages in thread
From: Miquel Raynal @ 2024-03-05  7:30 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-wpan, netdev, linux-kernel, Alexander Aring,
	Stefan Schmidt, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni

Hi Andy,

andriy.shevchenko@linux.intel.com 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 <andriy.shevchenko@linux.intel.com>

Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>

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

Thanks,
Miquèl

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next v1 1/1] ieee802154: at86rf230: Replace of_gpio.h by proper one
  2024-03-04 17:42 [PATCH net-next v1 1/1] ieee802154: at86rf230: Replace of_gpio.h by proper one Andy Shevchenko
  2024-03-05  7:30 ` Miquel Raynal
@ 2024-03-06 21:21 ` Stefan Schmidt
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Schmidt @ 2024-03-06 21:21 UTC (permalink / raw)
  To: Andy Shevchenko, linux-wpan, netdev, linux-kernel
  Cc: Alexander Aring, Miquel Raynal, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni

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 <andriy.shevchenko@linux.intel.com>
> ---
>   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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-06 21:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-04 17:42 [PATCH net-next v1 1/1] ieee802154: at86rf230: Replace of_gpio.h by proper one Andy Shevchenko
2024-03-05  7:30 ` Miquel Raynal
2024-03-06 21:21 ` Stefan Schmidt

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).