diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-27 22:08:26 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-08-28 20:15:51 +0200 |
commit | 308a028d079caf6e805f28cfc385334e6ce90ea5 (patch) | |
tree | fa6e57d54f6026a8f9e7de76a8efebda5b03c25c /drivers/bcma/scan.c | |
parent | ca6a77eb34e5c8cb7f2f232196301e6581d599df (diff) |
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 'drivers/bcma/scan.c')
0 files changed, 0 insertions, 0 deletions