diff options
author | Xu Wang <vulab@iscas.ac.cn> | 2020-12-18 12:35:12 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-01-10 00:52:46 +0300 |
commit | 58a5e29c5b77bf32ce8d0a4ff76a9ab1a2ed8db8 (patch) | |
tree | ba2e4619d5c9ed3606546ee4abd036730a4e40ae /ipc/Makefile | |
parent | 07fe995f942b63d7ee21cb70b0be08b53bd03db9 (diff) | |
download | linux-58a5e29c5b77bf32ce8d0a4ff76a9ab1a2ed8db8.tar.xz |
iio: adc: stm32-adc: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare
Because 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>
Acked-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/20201218093512.871-1-vulab@iscas.ac.cn
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'ipc/Makefile')
0 files changed, 0 insertions, 0 deletions