ieee802154: at86rf230: Replace of_gpio.h by proper one
Subsystems (3)
PATCH 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.
--- drivers/net/ieee802154/at86rf230.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/ieee802154/at86rf230.c +1 -2
@@ -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>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
Hi Andy,
[email protected] wrote on Mon, 4 Mar 2024 19:42:17 +0200:
Quoted 5 lines
of_gpio.his 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]>
I guess this will be queued in wpan/next after the merge window, probably by Stefan.
Thanks,
Miquèl
Stefan Schmidt
maintainerHello.
Quoted 22 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.Signed-off-by Andy Shevchenko <[email protected]>--- drivers/net/ieee802154/at86rf230.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/net/ieee802154/at86rf230.c +1
-0@@ -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>
drivers/net/ieee802154/at86rf230.c line 26
Quoted 10 lines
drivers/net/ieee802154/at86rf230.c +0
-2-#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