[PATCH V2 2/3] pwm: imx27: Use dev_err_probe() to simplify error handling

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Aug 11 03:00:22 EDT 2020


On Tue, Aug 11, 2020 at 02:24:31PM +0800, Anson Huang wrote:
> dev_err_probe() can reduce code size, uniform error handling and record the
> defer probe reason etc., use it to simplify the code.
> 
> Signed-off-by: Anson Huang <Anson.Huang at nxp.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Best regards
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: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200811/e2b971ab/attachment.sig>


More information about the linux-arm-kernel mailing list