diff options
| author | Xichao Zhao <zhao.xichao@vivo.com> | 2025-08-21 16:06:45 +0800 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-08-25 09:39:46 +0100 |
| commit | 666a22bb31e48ec467b77ec61fe1630a18ea0c2d (patch) | |
| tree | 19daf4d2edc79334fdeca26a131665821e1b37e5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | MAINTAINERS: Update xilinx-ams driver maintainers (diff) | |
| download | linux-666a22bb31e48ec467b77ec61fe1630a18ea0c2d.tar.gz linux-666a22bb31e48ec467b77ec61fe1630a18ea0c2d.zip | |
iio: accel: msa311: 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-2-zhao.xichao@vivo.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
