Skip to contentSkip to conversation

wifi: mm81x: stop using linux/gpio.h

PATCH In review Arnd Bergmann 2 participants 2 messages Nov 24

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

PATCH 1/1 wifi: mm81x: stop using linux/gpio.h

From: Arnd Bergmann <[email protected]>

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.

---
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(-)
drivers/net/wireless/morsemicro/mm81x/hw.c +0 -1
index 9293f4094db1..e48eaf151faa 100644
@@ -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"
drivers/net/wireless/morsemicro/mm81x/yaps.c +0 -1
index 2d1728c1a6de..a843c1c16216 100644
@@ -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>
Signature · 1 line
2.53.0
maintainer
#1 lore raw
Quoted 10 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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.

---
This was previously part of the patch to remove the header, but we ended up splitting that up again.

Thanks Arnd, FWIW I've just applied since I was just about to send my pull request so this will land in 7.5.

lachlan