]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: adau17x1: Remove redundant null check before clk_disable_unprepare
authorXu Wang <vulab@iscas.ac.cn>
Fri, 8 Jan 2021 08:44:56 +0000 (08:44 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 12 Jan 2021 14:12:00 +0000 (14:12 +0000)
commit88c633189f1058befe0ce90b2199760b8211c94c
tree5dce0ee37b6cc648e6e5fc3927dbb26f30930ea2
parentb031711b89698ae5dc64749acbe59872fb0fc9e8
ASoC: adau17x1: Remove redundant null check before clk_disable_unprepare

Because clk_disable_unprepare() already checked NULL clock parameter,
so the additional check is unnecessary, just remove it.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20210108084456.6603-1-vulab@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/adau17x1.c