spi: pxa2xx: Use pxa_ssp_enable()/pxa_ssp_disable() in the driver
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 May 2021 12:41:29 +0000 (15:41 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 11 May 2021 08:35:06 +0000 (09:35 +0100)
commit0c8ccd8b267fc735e4621774ce62728f27d42863
tree52a3a57e34263469bb7688899824467f9b985a3c
parent4761d2e7e51cfbe6fdb4e95903d407927f519f50
spi: pxa2xx: Use pxa_ssp_enable()/pxa_ssp_disable() in the driver

There are few places that repeat the logic of pxa_ssp_enable() and
pxa_ssp_disable(). Use them instead of open coded variants.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210510124134.24638-10-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx-dma.c
drivers/spi/spi-pxa2xx.c
include/linux/pxa2xx_ssp.h
sound/soc/pxa/pxa-ssp.c