spi: fsl: simplify error path in of_fsl_spi_probe()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 14 Jan 2020 16:02:40 +0000 (16:02 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jan 2020 16:08:29 +0000 (16:08 +0000)
commit2f3d8035b0f7a8e781b60e0884551dd8a1173a75
tree2bb054e75c1c4fdf10427478fc7998ad74692067
parentbc3a8b295e5bca9d1ec2622a6ba38289f9fd3d8a
spi: fsl: simplify error path in of_fsl_spi_probe()

No need to 'goto err;' for just doing a return.
return directly from where the error happens.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Link: https://lore.kernel.org/r/2a4a7e11b37cfa0558d68f0d35e90d6da858b059.1579017697.git.christophe.leroy@c-s.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-spi.c