spi: pxa2xx: Use one point of return when ->probe() fails

When we can't allocate SPI controller, jump to the error path rather than
return locally.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210423182441.50272-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Andy Shevchenko 2021-04-23 21:24:28 +03:00 • committed by Mark Brown
commit f2eed8caa3
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0