[PATCH v2 2/6] ASoC: renesas: fsi: Drop platform probing metadata

From: Uwe Kleine-König (The Capable Hub)

Date: Mon Jul 20 2026 - 02:25:35 EST


Since commit 38d3273075d6 ("ASoC: renesas: fsi: remove platform data
style support") probing using the traditional platform bus matching
isn't supported any more.

Drop the platform_device_id entries that should have been removed in the
above commit. Note that keeping the empty array results in the driver
not matching on "fsi-pcm-audio" (i.e. the driver name).

While touching that array, use a single space and no trailing comma for
the list terminator, which is the most used style for this.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
I was unsure about keeping the array. Also dropping
MODULE_DEVICE_TABLE() if keeping it might be worth a thought.
---
sound/soc/renesas/fsi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/renesas/fsi.c b/sound/soc/renesas/fsi.c
index 6be6587e1095..23b7e63596d3 100644
--- a/sound/soc/renesas/fsi.c
+++ b/sound/soc/renesas/fsi.c
@@ -1979,8 +1979,8 @@ static const struct of_device_id fsi_of_match[] = {
MODULE_DEVICE_TABLE(of, fsi_of_match);

static const struct platform_device_id fsi_id_table[] = {
- { "sh_fsi", (kernel_ulong_t)&fsi1_core },
- {},
+ /* an array with no valid entry prevents matching on driver name */
+ { }
};
MODULE_DEVICE_TABLE(platform, fsi_id_table);

--
2.55.0.11.g153666a7d9bb