diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-26 16:47:43 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-09-24 09:18:10 +0200 |
commit | c0bfe9606e036b125e8b200de5db9eb712c6b662 (patch) | |
tree | 7a13a7aaba304a4a1552ad47f71d22ab9a107233 /drivers/pwm/pwm-rockchip.c | |
parent | 85a5745f17b8bb6d82628c33778be293dbcbe928 (diff) | |
download | linux-c0bfe9606e036b125e8b200de5db9eb712c6b662.tar.bz2 |
pwm: jz4740: 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-rockchip.c')
0 files changed, 0 insertions, 0 deletions