wifi: mm81x: stop using linux/gpio.h
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
@@ -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
@@ -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
Lachlan Hodges
maintainerQuoted 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.Signed-off-by Arnd Bergmann <[email protected]>---
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