]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: move soc_probe_link_dais() next to soc_remove_link_dais()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 4 Sep 2019 00:15:23 +0000 (09:15 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 9 Sep 2019 10:03:28 +0000 (11:03 +0100)
commit9f039074987493516b31b92000e12205def7c402
treefc82221c06ccf58b5dd4bef5e7de04e377159650
parent5cd83fdfff81456b37992365b46e60b45da92b79
ASoC: soc-core: move soc_probe_link_dais() next to soc_remove_link_dais()

It is easy to read code if it is cleanly using paired function/naming,
like start <-> stop, register <-> unregister, etc, etc.
But, current ALSA SoC code is very random, unbalance, not paired, etc.
It is easy to create bug at the such code, and it will be difficult to
debug.

This patch moves soc_probe_link_dais() next to soc_remove_link_dais()
which is paired function.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87v9u8or1g.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c