From: Linus Walleij <linusw@kernel.org>
To: Oder Chiou <oder_chiou@realtek.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>
Cc: linux-sound@vger.kernel.org, Linus Walleij <linusw@kernel.org>
Subject: [PATCH 2/3] ASoC: nau8315: Drop unused include
Date: Fri, 27 Mar 2026 00:26:39 +0100 [thread overview]
Message-ID: <20260327-asoc-rt1318-v1-2-9fcecf868fda@kernel.org> (raw)
In-Reply-To: <20260327-asoc-rt1318-v1-0-9fcecf868fda@kernel.org>
The driver includes the legacy GPIO header <linux/gpio.h> but does
not use any symbols from it so drop the include. (It is already
using the consumer header as is proper.)
Signed-off-by: Linus Walleij <linusw@kernel.org>
---
sound/soc/codecs/nau8315.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/nau8315.c b/sound/soc/codecs/nau8315.c
index 125742601f88..9ac2048ff0b0 100644
--- a/sound/soc/codecs/nau8315.c
+++ b/sound/soc/codecs/nau8315.c
@@ -11,7 +11,6 @@
#include <linux/acpi.h>
#include <linux/device.h>
#include <linux/err.h>
-#include <linux/gpio.h>
#include <linux/gpio/consumer.h>
#include <linux/kernel.h>
#include <linux/module.h>
--
2.53.0
next prev parent reply other threads:[~2026-03-26 23:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-26 23:26 [PATCH 0/3] ASoC: Drop some unused GPIO includes Linus Walleij
2026-03-26 23:26 ` [PATCH 1/3] ASoC: rt1318: Drop unused include Linus Walleij
2026-03-26 23:26 ` Linus Walleij [this message]
2026-03-26 23:26 ` [PATCH 3/3] ASoC: ts3a227e: " Linus Walleij
2026-03-27 18:38 ` [PATCH 0/3] ASoC: Drop some unused GPIO includes Mark Brown
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=20260327-asoc-rt1318-v1-2-9fcecf868fda@kernel.org \
--to=linusw@kernel.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-sound@vger.kernel.org \
--cc=oder_chiou@realtek.com \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox