diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-27 22:08:24 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-08-28 20:15:23 +0200 |
commit | 4e7ed69685a5aec9974ce37c9eff260a9f945861 (patch) | |
tree | 2d122cfeb03fafc5f58eb154fc03ceb5f1b89c98 /security/loadpin/loadpin.c | |
parent | gpio: davinci: Simplify with dev_err_probe() (diff) | |
download | linux-4e7ed69685a5aec9974ce37c9eff260a9f945861.tar.xz linux-4e7ed69685a5aec9974ce37c9eff260a9f945861.zip |
gpio: omap: 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>
Acked-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'security/loadpin/loadpin.c')
0 files changed, 0 insertions, 0 deletions