]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xx: Convert to generalized SPI controller API
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Thu, 1 Feb 2018 15:17:30 +0000 (17:17 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 12 Feb 2018 12:04:24 +0000 (12:04 +0000)
commit5ec978de24fb1f88af8606b3bb153a4f7fa4af97
treeb7ede3d1b917adca6568b7969ba12e8072c77e4f
parent1526dbb89fcc0ba8768273983491a5f6ac519cbc
spi: pxa2xx: Convert to generalized SPI controller API

Convert to generalized SPI controller API introduced by the
commit f769d8486fb2 ("spi: Generalize SPI "master" to "controller"").
Inside driver variable name "master" is still used to indicate the driver
is master only.

While at it, change "unsigned cs" to "unsigned int cs" in
pxa2xx_spi_fw_translate_cs() to suppress checkpatch warning.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx-dma.c
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-pxa2xx.h