diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-27 23:08:26 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-08-28 21:15:51 +0300 |
commit | 308a028d079caf6e805f28cfc385334e6ce90ea5 (patch) | |
tree | fa6e57d54f6026a8f9e7de76a8efebda5b03c25c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ca6a77eb34e5c8cb7f2f232196301e6581d599df (diff) | |
download | linux-308a028d079caf6e805f28cfc385334e6ce90ea5.tar.xz |
gpio: pisosr: 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>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions