ASoC: da7218: Use devm_clk_get_optional()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 13 Apr 2023 05:28:33 +0000 (07:28 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 13 Apr 2023 10:42:16 +0000 (11:42 +0100)
commitc6c3581a3e178882c8815462ca129e60be50fde8
tree937872832d238a085defb98a7b6f44134bb3a76d
parent2c17277893747e30e41d1a7b57b80f2b298da278
ASoC: da7218: Use devm_clk_get_optional()

Use devm_clk_get_optional() instead of hand writing it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/51976b2515d7007ba5c8aa7524892f147d7cdd51.1681363691.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7218.c