diff options
| author | Xichao Zhao <zhao.xichao@vivo.com> | 2025-08-21 16:06:49 +0800 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-08-25 09:40:45 +0100 |
| commit | 660586969ea3add4a2a29437d89ef5a6d87a5aaa (patch) | |
| tree | e42937adf77dea1474ae9899c5e33b667e40db01 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | d3a7db87dad680b87473bd5d79139142cb88bbde (diff) | |
iio: light: 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: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/20250821080723.525379-6-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
