ASoC: cs53l30: Use the devm_clk_get_optional() helper
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 20 May 2023 14:54:06 +0000 (16:54 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 22 May 2023 10:18:56 +0000 (11:18 +0100)
commit0b855cbbd769940fcaf49b2371a05235d8499d5d
tree1ce087cdbce83ca841692e886269fa642817d2c4
parent374628fb668e50b42fe81f2a63af616182415bcd
ASoC: cs53l30: Use the devm_clk_get_optional() helper

Use devm_clk_get_optional() instead of hand writing it.
This saves some LoC and improves the semantic.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/3219effee5c7f190530bdb1ef8ec35cb142e3611.1684594433.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs53l30.c