Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spi: imx: Check for allocation failure earlier
In case of spi_alloc_master() failure it is better to return the error immediately, so move the error check right after the allocation. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
- Loading branch information