diff options
| author | Yuan Can <yuancan@huawei.com> | 2022-09-21 05:39:15 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 22:43:56 +0300 |
| commit | 2a22b40aea42dd516e669257ab5faf10396c2fad (patch) | |
| tree | 8bcf3ac5565acca4a418852b2a1ad3a1ad9c9101 /include/linux/stacktrace.h | |
| parent | 20228a1d5a55e7db0c6720840f2c7d2b48c55f69 (diff) | |
| download | linux-2a22b40aea42dd516e669257ab5faf10396c2fad.tar.xz | |
iio: accel: bma400: Switch to use dev_err_probe() helper
In the probe path, dev_err() can be replace with dev_err_probe()
which will check if error code is -EPROBE_DEFER and prints the
error name.
Signed-off-by: Yuan Can <yuancan@huawei.com>
Link: https://lore.kernel.org/r/20220921023915.47300-1-yuancan@huawei.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
