diff options
author | 2020-09-01 17:31:00 +0200 | |
---|---|---|
committer | 2020-09-04 17:14:31 +0200 | |
commit | 89c65d664832ebaf2cbdcfe83b25c0036780feb7 (patch) | |
tree | 0b5544d6ed5b57d4ce3bf0b55f9555a219bcf6b8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: 8250: Simplify with dev_err_probe() (diff) | |
download | wireguard-linux-89c65d664832ebaf2cbdcfe83b25c0036780feb7.tar.xz wireguard-linux-89c65d664832ebaf2cbdcfe83b25c0036780feb7.zip |
serial: core: Simplify with dev_err_probe()
Common pattern of handling deferred probe can be simplified with
dev_err_probe(). Less code and the error value gets printed.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Lukas Wunner <lukas@wunner.de>
Link: https://lore.kernel.org/r/20200901153100.18827-2-krzk@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions