Message ID | 20240228200321.3607764-1-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers | show |
Series | [wireless-next,v1,1/1] wifi: mt76: mt7915: Remove unused of_gpio.h | expand |
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?
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.
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 --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>
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(-)