diff options
| author | Yuan Can <yuancan@huawei.com> | 2022-09-21 02:39:15 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 19:43:56 +0000 |
| commit | 2a22b40aea42dd516e669257ab5faf10396c2fad (patch) | |
| tree | 8bcf3ac5565acca4a418852b2a1ad3a1ad9c9101 /tools/perf/scripts/python | |
| parent | 20228a1d5a55e7db0c6720840f2c7d2b48c55f69 (diff) | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
