diff options
author | Krzysztof Kozlowski | 2020-08-27 22:08:22 +0200 |
---|---|---|
committer | Bartosz Golaszewski | 2020-08-28 20:13:51 +0200 |
commit | cff9d73f3d6a9f7ac41351c93b2969b7d3695821 (patch) | |
tree | 6f8ee49586fc9e527828e34c8e2cc83242c6dcff /drivers/bus | |
parent | ddbc9712f3ac5613225fd888d96a44d62f24463b (diff) |
gpio: bcm-kona: 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>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions