diff options
| author | Krzysztof Kozlowski <[email protected]> | 2020-08-29 08:47:09 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-03 19:40:48 +0100 |
| commit | 3bdb1255e6b0a49e83412ad0d15eb2b2f7f63482 (patch) | |
| tree | 5520dfcb1513f74561eb9201eff6d85925e844c8 /tools/perf/scripts/python/bin | |
| parent | dc3ebfcaa51ff9ffa417f23e47c4e1aa01bc501d (diff) | |
iio: accel: bma180: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and also it prints the error value.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions