]> asedeno.scripts.mit.edu Git - linux.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)
commit3cc7b0e35745ae4e153f174038df34a79a385b32
treeb7ede3d1b917adca6568b7969ba12e8072c77e4f
parent104e51af79a0dbb80627d4db5e1421dd2a2f590c
spi: pxa2xx: Convert to generalized SPI controller API

Convert to generalized SPI controller API introduced by the
commit 8caab75fd2c2 ("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