diff options
| author | Xichao Zhao <zhao.xichao@vivo.com> | 2025-08-21 11:06:46 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-08-25 11:40:13 +0300 |
| commit | 3a4cdd1155de2c7d90a35d67b779774045e4cbb1 (patch) | |
| tree | 3c13f2526e5f497d150e2280dfc6e37ff5c59974 /include/linux/kernel_stat.h | |
| parent | 666a22bb31e48ec467b77ec61fe1630a18ea0c2d (diff) | |
| download | linux-3a4cdd1155de2c7d90a35d67b779774045e4cbb1.tar.xz | |
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 'include/linux/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions
