Skip to contentSkip to conversation

wifi: mt76: mt7915: Remove unused of_gpio.h

PATCH In review Andy Shevchenko 2 participants 4 messages Feb 28, 2024 – Apr 11, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wifi: mt76: mt7915: 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.

---
 drivers/net/wireless/mediatek/mt76/mt7915/soc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/wireless/mediatek/mt76/mt7915/soc.c +0 -1
index f5b99917c08e..90a6f61d1089 100644
@@ -7,7 +7,6 @@
 #include <linux/pinctrl/consumer.h>
 #include <linux/of.h>
 #include <linux/of_reserved_mem.h>
-#include <linux/of_gpio.h>
 #include <linux/iopoll.h>
 #include <linux/reset.h>
 #include <linux/of_net.h>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
#1 lore raw
Quoted 2 lines · Andy Shevchenko

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

What should be done to move this forward?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw
Quoted 5 lines · Andy Shevchenko
Quoted 2 lines · Andy Shevchenko

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

What should be done to move this forward?

It's applied to the mt76 tree:

https://github.com/nbd168/wireless/commit/b648ed2b4645e9cd0285aba576cb6f800c218b30

It will come to wireless-next in the next pull request, usually there's one per release.

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
#3 lore raw
Quoted 6 lines · Kalle Valo
Quoted 4 lines · Andy Shevchenko
Quoted 2 lines · Andy Shevchenko

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

Quoted 8 lines
Quoted 1 line

What should be done to move this forward?

It's applied to the mt76 tree:

https://github.com/nbd168/wireless/commit/b648ed2b4645e9cd0285aba576cb6f800c218b30

It will come to wireless-next in the next pull request, usually there's one per release.

I see, thank you for explanation!

Signature · 2 lines
With Best Regards,
Andy Shevchenko