diff options
| author | Xichao Zhao <zhao.xichao@vivo.com> | 2025-08-21 16:06:46 +0800 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-08-25 09:40:13 +0100 |
| commit | 3a4cdd1155de2c7d90a35d67b779774045e4cbb1 (patch) | |
| tree | 3c13f2526e5f497d150e2280dfc6e37ff5c59974 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 666a22bb31e48ec467b77ec61fe1630a18ea0c2d (diff) | |
iio: adc: Remove dev_err_probe() if error is -ENOMEM
The dev_err_probe() doesn't do anything when the error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just return the
value instead.
Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> # meson_saradc
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/20250821080723.525379-3-zhao.xichao@vivo.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
