]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: rename rtd->num to rtd->id
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 24 Oct 2024 01:29:13 +0000 (01:29 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 1 Nov 2024 14:48:09 +0000 (14:48 +0000)
commit40e47e2db6864aa053a62477bd71a16be9dd4066
treee022b6f47c615468a0d615ac2cc93f0fad34db83
parent019610566757a749dde7e0c92777d2c1613afef8
ASoC: rename rtd->num to rtd->id

Current rtd has "num". It sounds/looks like size of rtd or something,
but it will be mainly used at snd_pcm_new() as "device index".
This naming is confusable. Let's rename it to "id"

Some drivers are using rtd->num, so let's keep it so far, and remove
it if all user was switched.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87zfmub85z.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h
include/sound/soc.h
sound/soc/soc-compress.c
sound/soc/soc-core.c
sound/soc/soc-dai.c
sound/soc/soc-pcm.c