OSDN Git Service

spi: pl022: Convert to use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 30 Mar 2021 16:49:07 +0000 (18:49 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 31 Mar 2021 12:54:29 +0000 (13:54 +0100)
commit8bb2dbf1e14d05e92a23e03bcbd1c27f7ee937f7
treeb997a71c2c144fa0af0505a974455abb2d4bc416
parent77f983a9df421fa00ca6a2f494dc79f8afca75a2
spi: pl022: Convert to use GPIO descriptors

This converts the PL022 driver to use GPIO descriptors
instead of the old global GPIO numberspace. Since the
driver handles messages on its own it needs to manage
the GPIO descriptor directly.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210330164907.2346010-3-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pl022.c