Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] wifi: mm81x: stop using linux/gpio.h
@ 2026-11-24 14:34 Arnd Bergmann
  0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2026-11-24 14:34 UTC (permalink / raw)
  To: Lachlan Hodges, Dan Callaghan, Johannes Berg
  Cc: Arnd Bergmann, Arien Judge, James Herbert, Ayman Grais,
	Andrew Pope, Bassem Dawood, Linmao Li, Kees Cook, linux-wireless

From: Arnd Bergmann <arnd@arndb.de>

The header is being replaced with linux/gpio/consumer.h, which
is already included by the driver. Remove the #include statement
so we can delete the old header.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
This was previously part of the patch to remove the header,
but we ended up splitting that up again.
---
 drivers/net/wireless/morsemicro/mm81x/hw.c   | 1 -
 drivers/net/wireless/morsemicro/mm81x/yaps.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/net/wireless/morsemicro/mm81x/hw.c b/drivers/net/wireless/morsemicro/mm81x/hw.c
index 9293f4094db1..e48eaf151faa 100644
--- a/drivers/net/wireless/morsemicro/mm81x/hw.c
+++ b/drivers/net/wireless/morsemicro/mm81x/hw.c
@@ -7,7 +7,6 @@
 #include <linux/stringify.h>
 #include <linux/types.h>
 #include <linux/unaligned.h>
-#include <linux/gpio.h>
 #include "hif.h"
 #include "mac.h"
 #include "bus.h"
diff --git a/drivers/net/wireless/morsemicro/mm81x/yaps.c b/drivers/net/wireless/morsemicro/mm81x/yaps.c
index 2d1728c1a6de..a843c1c16216 100644
--- a/drivers/net/wireless/morsemicro/mm81x/yaps.c
+++ b/drivers/net/wireless/morsemicro/mm81x/yaps.c
@@ -2,7 +2,6 @@
 /*
  * Copyright (c) 2017-2026 Morse Micro
  */
-#include <linux/gpio.h>
 #include <linux/random.h>
 #include <linux/timer.h>
 #include <linux/bitops.h>
-- 
2.53.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-24 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 14:34 [PATCH] wifi: mm81x: stop using linux/gpio.h Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox