All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ruan Jinjie <ruanjinjie@huawei.com>
To: <perex@perex.cz>, <tiwai@suse.com>, <claudiu.beznea@tuxon.dev>,
	<lgirdwood@gmail.com>, <broonie@kernel.org>,
	<nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
	<peda@axentia.se>, <lars@metafoo.de>, <nuno.sa@analog.com>,
	<povik+lin@cutebit.org>, <wens@csie.org>,
	<jernej.skrabec@gmail.com>, <samuel@sholland.org>,
	<robh@kernel.org>, <u.kleine-koenig@pengutronix.de>,
	<alsa-devel@alsa-project.org>,
	<linux-arm-kernel@lists.infradead.org>, <asahi@lists.linux.dev>,
	<linux-sunxi@lists.linux.dev>
Cc: <ruanjinjie@huawei.com>
Subject: [PATCH -next 2/5] ASoC: atmel: tse850-pcm5142: Remove redundant of_match_ptr()
Date: Fri, 11 Aug 2023 15:14:23 +0800	[thread overview]
Message-ID: <20230811071426.2343133-3-ruanjinjie@huawei.com> (raw)
In-Reply-To: <20230811071426.2343133-1-ruanjinjie@huawei.com>

The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
---
 sound/soc/atmel/tse850-pcm5142.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/atmel/tse850-pcm5142.c b/sound/soc/atmel/tse850-pcm5142.c
index efead272d92b..c809b121037f 100644
--- a/sound/soc/atmel/tse850-pcm5142.c
+++ b/sound/soc/atmel/tse850-pcm5142.c
@@ -430,7 +430,7 @@ MODULE_DEVICE_TABLE(of, tse850_dt_ids);
 static struct platform_driver tse850_driver = {
 	.driver = {
 		.name = "axentia-tse850-pcm5142",
-		.of_match_table = of_match_ptr(tse850_dt_ids),
+		.of_match_table = tse850_dt_ids,
 	},
 	.probe = tse850_probe,
 	.remove_new = tse850_remove,
-- 
2.34.1


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

WARNING: multiple messages have this Message-ID (diff)
From: Ruan Jinjie <ruanjinjie@huawei.com>
To: <perex@perex.cz>, <tiwai@suse.com>, <claudiu.beznea@tuxon.dev>,
	<lgirdwood@gmail.com>, <broonie@kernel.org>,
	<nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
	<peda@axentia.se>, <lars@metafoo.de>, <nuno.sa@analog.com>,
	<povik+lin@cutebit.org>, <wens@csie.org>,
	<jernej.skrabec@gmail.com>, <samuel@sholland.org>,
	<robh@kernel.org>, <u.kleine-koenig@pengutronix.de>,
	<alsa-devel@alsa-project.org>,
	<linux-arm-kernel@lists.infradead.org>, <asahi@lists.linux.dev>,
	<linux-sunxi@lists.linux.dev>
Cc: <ruanjinjie@huawei.com>
Subject: [PATCH -next 2/5] ASoC: atmel: tse850-pcm5142: Remove redundant of_match_ptr()
Date: Fri, 11 Aug 2023 15:14:23 +0800	[thread overview]
Message-ID: <20230811071426.2343133-3-ruanjinjie@huawei.com> (raw)
In-Reply-To: <20230811071426.2343133-1-ruanjinjie@huawei.com>

The driver depends on CONFIG_OF, it is not necessary to use
of_match_ptr() here.

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
---
 sound/soc/atmel/tse850-pcm5142.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/atmel/tse850-pcm5142.c b/sound/soc/atmel/tse850-pcm5142.c
index efead272d92b..c809b121037f 100644
--- a/sound/soc/atmel/tse850-pcm5142.c
+++ b/sound/soc/atmel/tse850-pcm5142.c
@@ -430,7 +430,7 @@ MODULE_DEVICE_TABLE(of, tse850_dt_ids);
 static struct platform_driver tse850_driver = {
 	.driver = {
 		.name = "axentia-tse850-pcm5142",
-		.of_match_table = of_match_ptr(tse850_dt_ids),
+		.of_match_table = tse850_dt_ids,
 	},
 	.probe = tse850_probe,
 	.remove_new = tse850_remove,
-- 
2.34.1


  parent reply	other threads:[~2023-08-11  7:15 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-11  7:14 [PATCH -next 0/5] sound: Remove redundant of_match_ptr() macro Ruan Jinjie
2023-08-11  7:14 ` Ruan Jinjie
2023-08-11  7:14 ` [PATCH -next 1/5] ASoC: atmel: Remove redundant of_match_ptr() Ruan Jinjie
2023-08-11  7:14   ` Ruan Jinjie
2023-08-11  7:14 ` Ruan Jinjie [this message]
2023-08-11  7:14   ` [PATCH -next 2/5] ASoC: atmel: tse850-pcm5142: " Ruan Jinjie
2023-08-11  7:14 ` [PATCH -next 3/5] ASoC: sunxi: sun4i-spdif: " Ruan Jinjie
2023-08-11  7:14   ` Ruan Jinjie
2023-08-13 15:22   ` Jernej Škrabec
2023-08-13 15:22     ` Jernej Škrabec
2023-08-11  7:14 ` [PATCH -next 4/5] ASoC: ssm3515: " Ruan Jinjie
2023-08-11  7:14   ` Ruan Jinjie
2023-08-11  7:14 ` [PATCH -next 5/5] ALSA: " Ruan Jinjie
2023-08-11  7:14   ` Ruan Jinjie
2023-08-11  7:49   ` Takashi Iwai
2023-08-11  7:49     ` Takashi Iwai
2023-08-11  7:51 ` [PATCH -next 0/5] sound: Remove redundant of_match_ptr() macro Takashi Iwai
2023-08-11  7:51   ` Takashi Iwai
2023-08-11  7:59   ` Ruan Jinjie
2023-08-11  7:59     ` Ruan Jinjie
2023-08-14  0:33 ` Mark Brown
2023-08-14  0:33   ` 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=20230811071426.2343133-3-ruanjinjie@huawei.com \
    --to=ruanjinjie@huawei.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=asahi@lists.linux.dev \
    --cc=broonie@kernel.org \
    --cc=claudiu.beznea@tuxon.dev \
    --cc=jernej.skrabec@gmail.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=nicolas.ferre@microchip.com \
    --cc=nuno.sa@analog.com \
    --cc=peda@axentia.se \
    --cc=perex@perex.cz \
    --cc=povik+lin@cutebit.org \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=tiwai@suse.com \
    --cc=u.kleine-koenig@pengutronix.de \
    --cc=wens@csie.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.