All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Paul Handrigan <Paul.Handrigan@cirrus.com>,
	 James Schulman <james.schulman@cirrus.com>,
	 David Rhodes <david.rhodes@cirrus.com>,
	 Richard Fitzgerald <rf@opensource.cirrus.com>,
	 Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	 Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	 Hartley Sweeten <hsweeten@visionengravers.com>,
	 Alexander Sverdlin <alexander.sverdlin@gmail.com>,
	 Nikita Shubin <nikita.shubin@maquefel.me>
Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com,
	 linux-sound@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	 Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH 04/10] ASoC: cs35l35: Drop legacy includes
Date: Wed, 29 Nov 2023 22:28:40 +0100	[thread overview]
Message-ID: <20231129-descriptors-sound-cirrus-v1-4-31aa74425ff8@linaro.org> (raw)
In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org>

This driver includes the legacy GPIO APIs <linux/gpio.h> and
<linux/of_gpio.h> but does not use any symbols from any of
them.

Drop the includes.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 sound/soc/codecs/cs35l35.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c
index 63a538f747d3..ddb7d63213a3 100644
--- a/sound/soc/codecs/cs35l35.c
+++ b/sound/soc/codecs/cs35l35.c
@@ -18,14 +18,12 @@
 #include <linux/regulator/consumer.h>
 #include <linux/gpio/consumer.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/regmap.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
 #include <sound/soc-dapm.h>
-#include <linux/gpio.h>
 #include <sound/initval.h>
 #include <sound/tlv.h>
 #include <sound/cs35l35.h>

-- 
2.34.1


WARNING: multiple messages have this Message-ID (diff)
From: Linus Walleij <linus.walleij@linaro.org>
To: Paul Handrigan <Paul.Handrigan@cirrus.com>,
	 James Schulman <james.schulman@cirrus.com>,
	 David Rhodes <david.rhodes@cirrus.com>,
	 Richard Fitzgerald <rf@opensource.cirrus.com>,
	 Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	 Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	 Hartley Sweeten <hsweeten@visionengravers.com>,
	 Alexander Sverdlin <alexander.sverdlin@gmail.com>,
	 Nikita Shubin <nikita.shubin@maquefel.me>
Cc: alsa-devel@alsa-project.org, patches@opensource.cirrus.com,
	 linux-sound@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	 Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH 04/10] ASoC: cs35l35: Drop legacy includes
Date: Wed, 29 Nov 2023 22:28:40 +0100	[thread overview]
Message-ID: <20231129-descriptors-sound-cirrus-v1-4-31aa74425ff8@linaro.org> (raw)
In-Reply-To: <20231129-descriptors-sound-cirrus-v1-0-31aa74425ff8@linaro.org>

This driver includes the legacy GPIO APIs <linux/gpio.h> and
<linux/of_gpio.h> but does not use any symbols from any of
them.

Drop the includes.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 sound/soc/codecs/cs35l35.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c
index 63a538f747d3..ddb7d63213a3 100644
--- a/sound/soc/codecs/cs35l35.c
+++ b/sound/soc/codecs/cs35l35.c
@@ -18,14 +18,12 @@
 #include <linux/regulator/consumer.h>
 #include <linux/gpio/consumer.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <linux/regmap.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
 #include <sound/soc-dapm.h>
-#include <linux/gpio.h>
 #include <sound/initval.h>
 #include <sound/tlv.h>
 #include <sound/cs35l35.h>

-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2023-11-29 21:28 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-29 21:28 [PATCH 00/10] ASoC: Convert Cirrus codecs to GPIO descriptors Linus Walleij
2023-11-29 21:28 ` Linus Walleij
2023-11-29 21:28 ` [PATCH 01/10] ASoC: cs35l32: Drop legacy include Linus Walleij
2023-11-29 21:28   ` Linus Walleij
2023-11-29 21:28 ` [PATCH 02/10] ASoC: cs35l33: Fix GPIO name and drop " Linus Walleij
2023-11-29 21:28   ` Linus Walleij
2023-11-29 21:31   ` Mark Brown
2023-11-29 21:31     ` Mark Brown
2023-11-29 21:28 ` [PATCH 03/10] ASoC: cs35l34: " Linus Walleij
2023-11-29 21:28   ` Linus Walleij
2023-11-29 21:28 ` Linus Walleij [this message]
2023-11-29 21:28   ` [PATCH 04/10] ASoC: cs35l35: Drop legacy includes Linus Walleij
2023-11-29 21:28 ` [PATCH 05/10] ASoC: cs35l36: " Linus Walleij
2023-11-29 21:28   ` Linus Walleij
2023-11-29 21:28 ` [PATCH 06/10] ASoC: cs4271: Convert to GPIO descriptors Linus Walleij
2023-11-29 21:28   ` Linus Walleij
2023-11-29 22:32   ` Alexander Sverdlin
2023-11-29 22:32     ` Alexander Sverdlin
2023-11-29 21:28 ` [PATCH 07/10] ASoC: cirrus: edb93xx: Drop legacy include Linus Walleij
2023-11-29 21:28   ` Linus Walleij
2023-11-29 22:35   ` Alexander Sverdlin
2023-11-29 22:35     ` Alexander Sverdlin
2023-11-29 21:28 ` [PATCH 08/10] ASoC: cs42l42: " Linus Walleij
2023-11-29 21:28   ` Linus Walleij
2023-11-29 21:28 ` [PATCH 09/10] ASoC: cs43130: Drop legacy includes Linus Walleij
2023-11-29 21:28   ` Linus Walleij
2023-11-29 21:28 ` [PATCH 10/10] ASoC: cs4349: Drop legacy include Linus Walleij
2023-11-29 21:28   ` Linus Walleij
2023-11-30  9:58 ` [PATCH 00/10] ASoC: Convert Cirrus codecs to GPIO descriptors Charles Keepax
2023-11-30  9:58   ` Charles Keepax

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=20231129-descriptors-sound-cirrus-v1-4-31aa74425ff8@linaro.org \
    --to=linus.walleij@linaro.org \
    --cc=Paul.Handrigan@cirrus.com \
    --cc=alexander.sverdlin@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=david.rhodes@cirrus.com \
    --cc=hsweeten@visionengravers.com \
    --cc=james.schulman@cirrus.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=nikita.shubin@maquefel.me \
    --cc=patches@opensource.cirrus.com \
    --cc=perex@perex.cz \
    --cc=rf@opensource.cirrus.com \
    --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 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.