ASoC: simple-card: use devm_get_clk_from_child()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 23 Jan 2017 07:29:42 +0000 (07:29 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 23 Jan 2017 17:46:33 +0000 (17:46 +0000)
commite984fd61e860ce3c45e79d69cf214b8cc6cae7d9
treea45d2fde7ff7103b3f08693ff37466c698f9c17d
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: simple-card: use devm_get_clk_from_child()

Current simple-card-utils is getting clk by of_clk_get(), but didn't call
clk_free(). Now we can use devm_get_clk_from_child() for this purpose.
Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/simple_card_utils.h
sound/soc/generic/simple-card-utils.c
sound/soc/generic/simple-card.c
sound/soc/generic/simple-scu-card.c