summaryrefslogtreecommitdiff
path: root/net/devres.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-01-20 01:26:00 +0100
committerMark Brown <broonie@kernel.org>2022-01-31 15:17:29 +0000
commit2818824ced4be5abc22c450340d548702f166d9a (patch)
tree0a9e76f79036efd2a78c0bf322dd265ff03ba8d9 /net/devres.c
parent1a5a87d541b442293dfcc2253b652bc7b7e02d09 (diff)
spi: mpc512x-psc: Convert to use GPIO descriptors
This driver is already relying on the core to provide valid GPIO numbers in spi->cs_gpio through of_spi_get_gpio_numbers(), so we can switch to letting the core use GPIO descriptors instead. The driver was assigning a local function to the custom chipselect callback, but I chose to just open code the gpiod setting instead, this is easier to read. The only platform that overrides the cs_control callback is the mpc832x_rdb. Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Anatolij Gustschin <agust@denx.de> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20220120002600.216667-1-linus.walleij@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/devres.c')
0 files changed, 0 insertions, 0 deletions