[PATCH v3] spi: fsl: simplify error path in of_fsl_spi_probe()

Mark Brown broonie at kernel.org
Wed Jan 15 03:57:39 AEDT 2020


On Tue, Jan 14, 2020 at 04:26:18PM +0000, Joakim Tjernlund wrote:

> Don't you need to "undo" ioremap, irq etc. in case of later errors?

Better, convert to devm_ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20200114/2963310e/attachment.sig>


More information about the Linuxppc-dev mailing list