From: Arnd Bergmann <arnd@kernel.org>
To: Lachlan Hodges <lachlan.hodges@morsemicro.com>,
Dan Callaghan <dan.callaghan@morsemicro.com>,
Johannes Berg <johannes@sipsolutions.net>
Cc: Arnd Bergmann <arnd@arndb.de>,
Arien Judge <arien.judge@morsemicro.com>,
James Herbert <james.herbert@morsemicro.com>,
Ayman Grais <ayman.grais@morsemicro.com>,
Andrew Pope <andrew.pope@morsemicro.com>,
Bassem Dawood <bassem@morsemicro.com>,
Linmao Li <lilinmao@kylinos.cn>,
Kees Cook <kees+treewide@kernel.org>,
linux-wireless@vger.kernel.org
Subject: [PATCH] wifi: mm81x: stop using linux/gpio.h
Date: Tue, 24 Nov 2026 15:34:59 +0100 [thread overview]
Message-ID: <20261124143538.3253500-1-arnd@kernel.org> (raw)
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
next reply other threads:[~2026-11-24 14:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 14:34 Arnd Bergmann [this message]
2026-11-24 23:49 ` [PATCH] wifi: mm81x: stop using linux/gpio.h Lachlan Hodges
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261124143538.3253500-1-arnd@kernel.org \
--to=arnd@kernel.org \
--cc=andrew.pope@morsemicro.com \
--cc=arien.judge@morsemicro.com \
--cc=arnd@arndb.de \
--cc=ayman.grais@morsemicro.com \
--cc=bassem@morsemicro.com \
--cc=dan.callaghan@morsemicro.com \
--cc=james.herbert@morsemicro.com \
--cc=johannes@sipsolutions.net \
--cc=kees+treewide@kernel.org \
--cc=lachlan.hodges@morsemicro.com \
--cc=lilinmao@kylinos.cn \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.