diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-26 16:47:47 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-09-24 09:18:12 +0200 |
commit | 5327f34bf8ee61d2b1f27f8f31ee8b729f3993a8 (patch) | |
tree | e35f981fa1c62fc8562e8b6ae226dbe8de7e63fc /drivers/pwm/pwm-lpss.c | |
parent | 793bb636f549da85d1fe68228428e5e11d7db22e (diff) | |
download | linux-5327f34bf8ee61d2b1f27f8f31ee8b729f3993a8.tar.gz linux-5327f34bf8ee61d2b1f27f8f31ee8b729f3993a8.tar.bz2 linux-5327f34bf8ee61d2b1f27f8f31ee8b729f3993a8.zip |
pwm: sun4i: 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: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-lpss.c')
0 files changed, 0 insertions, 0 deletions