diff options
| author | Xu Wang <[email protected]> | 2020-12-18 09:35:12 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-01-09 21:52:46 +0000 |
| commit | 58a5e29c5b77bf32ce8d0a4ff76a9ab1a2ed8db8 (patch) | |
| tree | ba2e4619d5c9ed3606546ee4abd036730a4e40ae /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 07fe995f942b63d7ee21cb70b0be08b53bd03db9 (diff) | |
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 <[email protected]>
Acked-by: Fabrice Gasnier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions