]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pxa: pxa-ssp: Remove redundant null check before clk_prepare_enable/clk_disable...
authorXu Wang <vulab@iscas.ac.cn>
Thu, 29 Oct 2020 09:01:04 +0000 (09:01 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 5 Nov 2020 14:52:35 +0000 (14:52 +0000)
commit24795ca76b7ee4eccf22201f7a2d5e6748524c05
tree575d9e28b4417bfad4de25b66e9bdbe8908dab67
parentea7d9ba470596442c1ff8d21540760898ef3db22
ASoC: pxa: pxa-ssp: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare

ecause clk_prepare_enable() and clk_disable_unprepare() already checked
NULL clock parameter, so the additional checks are unnecessary, just
remove them.

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