From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: "Charles Keepax" <ckeepax@opensource.cirrus.com>,
"Rob Herring" <robh@kernel.org>,
"Weidong Wang" <wangweidong.a@awinic.com>,
"Mark Brown" <broonie@kernel.org>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Kuninori Morimoto" <kuninori.morimoto.gx@renesas.com>,
"Shenghao Ding" <shenghao-ding@ti.com>,
"Marco Felsch" <m.felsch@pengutronix.de>,
"Alper Nebi Yasak" <alpernebiyasak@gmail.com>,
"Chancel Liu" <chancel.liu@nxp.com>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
alsa-devel@alsa-project.org, patches@opensource.cirrus.com,
linux-arm-msm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org
Cc: Nicolin Chen <nicoleotsuka@gmail.com>,
Fabio Estevam <festevam@gmail.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Liam Girdwood <lgirdwood@gmail.com>,
Shengjiu Wang <shengjiu.wang@gmail.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Xiubo Li <Xiubo.Lee@gmail.com>, Takashi Iwai <tiwai@suse.com>,
David Rhodes <david.rhodes@cirrus.com>,
Kevin Lu <kevin-lu@ti.com>,
Richard Fitzgerald <rf@opensource.cirrus.com>,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
Banajit Goswami <bgoswami@quicinc.com>,
Shawn Guo <shawnguo@kernel.org>,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Jaroslav Kysela <perex@perex.cz>, Baojun Xu <baojun.xu@ti.com>,
Heiko Stuebner <heiko@sntech.de>
Subject: [PATCH v2 4/6] ASoC: codecs: Replace of_gpio.h by proper one
Date: Thu, 6 Jun 2024 00:27:27 +0300 [thread overview]
Message-ID: <20240605221446.2624964-5-andriy.shevchenko@linux.intel.com> (raw)
In-Reply-To: <20240605221446.2624964-1-andriy.shevchenko@linux.intel.com>
of_gpio.h is deprecated and subject to remove.
The driver doesn't use it directly, replace it
with what is really being used.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
sound/soc/codecs/aw88395/aw88395.c | 2 +-
sound/soc/codecs/aw88399.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/aw88395/aw88395.c b/sound/soc/codecs/aw88395/aw88395.c
index 3c459a67ad0c..be6ebcb51cca 100644
--- a/sound/soc/codecs/aw88395/aw88395.c
+++ b/sound/soc/codecs/aw88395/aw88395.c
@@ -8,9 +8,9 @@
// Author: Weidong Wang <wangweidong.a@awinic.com>
//
+#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/firmware.h>
-#include <linux/of_gpio.h>
#include <linux/regmap.h>
#include <sound/soc.h>
#include "aw88395.h"
diff --git a/sound/soc/codecs/aw88399.c b/sound/soc/codecs/aw88399.c
index df6d52a1cfef..5d8481612eab 100644
--- a/sound/soc/codecs/aw88399.c
+++ b/sound/soc/codecs/aw88399.c
@@ -8,9 +8,9 @@
//
#include <linux/crc32.h>
+#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/firmware.h>
-#include <linux/of_gpio.h>
#include <linux/regmap.h>
#include <sound/soc.h>
#include "aw88399.h"
--
2.43.0.rc1.1336.g36b5255a03ac
next prev parent reply other threads:[~2024-06-05 22:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-05 21:27 [PATCH v2 0/6] ASoC: Drop or replace of_gpio.h Andy Shevchenko
2024-06-05 21:27 ` [PATCH v2 1/6] ASoC: codecs: Remove unused of_gpio.h Andy Shevchenko
2024-06-05 21:27 ` [PATCH v2 2/6] ASoC: fsl: " Andy Shevchenko
2024-06-05 21:27 ` [PATCH v2 3/6] ASoC: rockchip: " Andy Shevchenko
2024-06-07 12:34 ` Heiko Stuebner
2024-06-05 21:27 ` Andy Shevchenko [this message]
2024-06-05 21:27 ` [PATCH v2 5/6] ASoC: generic: Replace of_gpio.h by proper one Andy Shevchenko
2024-06-05 21:27 ` [PATCH v2 6/6] ASoC: samsung: " Andy Shevchenko
-- strict thread matches above, loose matches on Subject: below --
2024-05-31 15:29 [PATCH v2 0/6] ASoC: Drop or replace of_gpio.h Andy Shevchenko
2024-05-31 15:29 ` [PATCH v2 4/6] ASoC: codecs: Replace of_gpio.h by proper one Andy Shevchenko
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=20240605221446.2624964-5-andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=Xiubo.Lee@gmail.com \
--cc=alpernebiyasak@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=baojun.xu@ti.com \
--cc=bgoswami@quicinc.com \
--cc=broonie@kernel.org \
--cc=chancel.liu@nxp.com \
--cc=ckeepax@opensource.cirrus.com \
--cc=david.rhodes@cirrus.com \
--cc=festevam@gmail.com \
--cc=heiko@sntech.de \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=kevin-lu@ti.com \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-sound@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=m.felsch@pengutronix.de \
--cc=nicoleotsuka@gmail.com \
--cc=patches@opensource.cirrus.com \
--cc=perex@perex.cz \
--cc=rf@opensource.cirrus.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=s.nawrocki@samsung.com \
--cc=shawnguo@kernel.org \
--cc=shenghao-ding@ti.com \
--cc=shengjiu.wang@gmail.com \
--cc=srinivas.kandagatla@linaro.org \
--cc=tiwai@suse.com \
--cc=u.kleine-koenig@pengutronix.de \
--cc=wangweidong.a@awinic.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;
as well as URLs for NNTP newsgroup(s).