diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-06-26 01:57:59 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-02 01:21:28 +0300 |
commit | a2f234fcabd0ab25399741668ea62bc4c3b40191 (patch) | |
tree | 79f0d048d907797c2a3c16171c24194a4fa51b19 /scripts/jobserver-exec | |
parent | d40f0b6f2e21f2400ae8b1b120d11877d9ffd8ec (diff) | |
download | linux-a2f234fcabd0ab25399741668ea62bc4c3b40191.tar.xz |
spi: npcm-pspi: Convert to use GPIO descriptors
The Nuvoton PSPI driver already uses the core to handle GPIO
chip selects but is using the old GPIO number method and
retrieveing the GPIOs in the probe() call.
Switch it over to using GPIO descriptors saving a bunch of
code and modernizing it.
Compile tested med ARMv7 multiplatform config augmented
with the Nuvoton arch and this driver.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Tomer Maimon <tmaimon77@gmail.com>
Link: https://lore.kernel.org/r/20200625225759.273911-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/jobserver-exec')
0 files changed, 0 insertions, 0 deletions