diff mbox series

[wireless-next,v1,1/1] wifi: mt76: mt7915: Remove unused of_gpio.h

Message ID 20240228200321.3607764-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State Accepted
Delegated to: Felix Fietkau
Headers show
Series [wireless-next,v1,1/1] wifi: mt76: mt7915: Remove unused of_gpio.h | expand

Commit Message

Andy Shevchenko Feb. 28, 2024, 8:03 p.m. UTC
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 <andriy.shevchenko@linux.intel.com>
---
 drivers/net/wireless/mediatek/mt76/mt7915/soc.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Andy Shevchenko April 10, 2024, 5:36 p.m. UTC | #1
On Wed, Feb 28, 2024 at 10:03:21PM +0200, Andy Shevchenko wrote:
> 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?
Kalle Valo April 11, 2024, 8:24 a.m. UTC | #2
Andy Shevchenko <andriy.shevchenko@linux.intel.com> writes:

> On Wed, Feb 28, 2024 at 10:03:21PM +0200, Andy Shevchenko wrote:
>> 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.
Andy Shevchenko April 11, 2024, 10:20 a.m. UTC | #3
On Thu, Apr 11, 2024 at 11:24:18AM +0300, Kalle Valo wrote:
> Andy Shevchenko <andriy.shevchenko@linux.intel.com> writes:
> 
> > On Wed, Feb 28, 2024 at 10:03:21PM +0200, Andy Shevchenko wrote:
> >> 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.

I see, thank you for explanation!
diff mbox series

Patch

diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/soc.c b/drivers/net/wireless/mediatek/mt76/mt7915/soc.c
index f5b99917c08e..90a6f61d1089 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7915/soc.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7915/soc.c
@@ -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>