diff options
| author | Xu Wang <vulab@iscas.ac.cn> | 2020-12-18 09:35:12 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-01-09 21:52:46 +0000 |
| commit | 58a5e29c5b77bf32ce8d0a4ff76a9ab1a2ed8db8 (patch) | |
| tree | ba2e4619d5c9ed3606546ee4abd036730a4e40ae /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 07fe995f942b63d7ee21cb70b0be08b53bd03db9 (diff) | |
| download | linux-58a5e29c5b77bf32ce8d0a4ff76a9ab1a2ed8db8.tar.gz linux-58a5e29c5b77bf32ce8d0a4ff76a9ab1a2ed8db8.zip | |
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 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
