spi: meson-spicc: Use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 5 Dec 2019 08:39:15 +0000 (09:39 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 16 Dec 2019 11:58:48 +0000 (11:58 +0000)
commitcd8fb859a84c1c4f985a582b79050116d2c30c47
tree8ea952b1cd30e32fa53c41f09cdc9d6463a0b452
parent0a454258febb73e4c60d7f5d9a02d1a8c64fdfb8
spi: meson-spicc: Use GPIO descriptors

Instead of grabbing GPIOs using the legacy interface and
handling them in the setup callback, just let the core
grab and use the GPIOs using descriptors.

Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Sunny Luo <sunny.luo@amlogic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20191205083915.27650-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-meson-spicc.c