spi: pxa2xx: Reuse int_error_stop() in pxa2xx_spi_slave_abort()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 May 2021 12:41:28 +0000 (15:41 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 11 May 2021 08:35:05 +0000 (09:35 +0100)
commit4761d2e7e51cfbe6fdb4e95903d407927f519f50
treed40ac076944c8b9c7c7455a4e477b3401ec1581b
parentab77fe8935c57d1339d3df64957f32e87f0d5ef3
spi: pxa2xx: Reuse int_error_stop() in pxa2xx_spi_slave_abort()

It appears that pxa2xx_spi_slave_abort()almost  repeats the functionality
of the int_error_stop(). Reuse int_error_stop() in pxa2xx_spi_slave_abort().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210510124134.24638-9-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c