diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2025-06-04 02:07:22 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-06-08 23:31:03 +0100 |
commit | 267be32b0a7b70cc777f8a46f0904c92c0521d89 (patch) | |
tree | 53bdfeacf20ef7771cdf5f1bf33bcb08ea249c7c /sound/soc/soc-core.c | |
parent | 6ada7351af0c4e295739adfa2c4b780c037b3d27 (diff) |
ASoC: remove component->id
No one is using component->id.
One idea is we can re-use it as serial number for component.
But we have no usage, so far. Let's just remove it for now.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/877c1suuna.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r-- | sound/soc/soc-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index ecea2dddbe9a..cfafdabcdc88 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -2835,7 +2835,7 @@ int snd_soc_component_initialize(struct snd_soc_component *component, mutex_init(&component->io_mutex); if (!component->name) { - component->name = fmt_single_name(dev, &component->id); + component->name = fmt_single_name(dev, NULL); if (!component->name) { dev_err(dev, "ASoC: Failed to allocate name\n"); return -ENOMEM; |