ASoC: adau1761: Use the devm_clk_get_optional() helper
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 20 May 2023 14:48:19 +0000 (16:48 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 22 May 2023 10:18:51 +0000 (11:18 +0100)
commitef44ba21995e80e19e7056593067cb4bfaad0bde
tree17a7ddd52f9411976bfc39474b7a68824be517e6
parent83b3432fc5b7128f9904a13b5d5c539c68b57447
ASoC: adau1761: 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/ab0fe7e7ecf965df84b9516ba65428af9b3805c1.1684594081.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/adau17x1.c