]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xx: Convert to GPIO descriptor API where possible
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 3 Aug 2017 11:40:32 +0000 (13:40 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 4 Aug 2017 11:41:55 +0000 (12:41 +0100)
commit5f5564b4dd4552d72f20324615392536a21be878
tree4e57d89ebc6e5b9fc0bae8a153e2475a2f75183f
parent4a0b13780770ad29856dd3715430b5503cbb7562
spi: pxa2xx: Convert to GPIO descriptor API where possible

We still need to request/free GPIOs passed via the legacy path of
pxa2xx_spi_chip::gpio_cs, but we can use the gpiod API otherwise.

Consistently use the descriptor API instead of the legacy one.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-pxa2xx.h