]> asedeno.scripts.mit.edu Git - linux.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)
commitc18d925fca20d33c3d04e5002a883f62d699543e
tree4e57d89ebc6e5b9fc0bae8a153e2475a2f75183f
parentd35f2dc9a2a84f4985d8b16b47040fd6291788ad
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