summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-sun4i.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-26 16:47:42 +0200
committerThierry Reding <thierry.reding@gmail.com>2020-09-24 09:18:10 +0200
commit85a5745f17b8bb6d82628c33778be293dbcbe928 (patch)
tree8dc73284d0155486316e22053c9f289dc9ee6315 /drivers/pwm/pwm-sun4i.c
parentpwm: Convert to use DEFINE_SEQ_ATTRIBUTE macro (diff)
downloadlinux-85a5745f17b8bb6d82628c33778be293dbcbe928.tar.xz
linux-85a5745f17b8bb6d82628c33778be293dbcbe928.zip
pwm: bcm2835: 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: Florian Fainelli <f.fainelli@gmail.com> 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-sun4i.c')
0 files changed, 0 insertions, 0 deletions