summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-04-14 16:15:59 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-04-28 19:22:56 +0100
commitcb55b4428550fc1511fdd0f74057169c9a63c96e (patch)
tree628d38340e83d8b775d1215a728bf98c9edb94b9 /tools/perf/scripts/python/exported-sql-viewer.py
parent79f4dc9dec0e0beb12728dc214ae03672b7d76d8 (diff)
iio: imu: adis16480: Improve getting the optional clocks
The extended clocks are optional and may not be present for some configurations supported by this driver. Nevertheless, in case the clock is provided but some error happens during its getting, that error handling should be done properly. Use devm_clk_get_optional() API and report possible errors using dev_err_probe() to handle properly -EPROBE_DEFER error. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Tested-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20220414131559.24694-3-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions