diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-26 16:50:12 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-09 11:20:09 +0200 |
commit | 4582e783a2f481a813aa61178d77b2a5cb8f1d9e (patch) | |
tree | 3f5a3f889d8f4e713e81efa8c5de3bc8b73302b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7e8da60596b26c40483375f75297f45bd81d4096 (diff) |
leds: sgm3140: 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 <krzk@kernel.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions