[PATCH 4/6] pwm: sifive: Simplify with dev_err_probe()

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Sep 2 03:13:56 EDT 2020


On Wed, Aug 26, 2020 at 04:47:45PM +0200, Krzysztof Kozlowski wrote:
> 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 at kernel.org>
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.infradead.org/pipermail/linux-riscv/attachments/20200902/26f97910/attachment.sig>


More information about the linux-riscv mailing list
OSZAR »