spi: Retire legacy GPIO handling
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Feb 2022 23:19:54 +0000 (00:19 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 14 Feb 2022 12:53:18 +0000 (12:53 +0000)
commitf48dc6b9664963107e500aecfc2f4df27dc5afb6
treec901b49a65642c43918ec85d0051b7c237b862f9
parent5790597d7113faabb1714d3d1efa268e36eb4811
spi: Retire legacy GPIO handling

All drivers using GPIOs as chip select have been rewritten to use
GPIO descriptors passing the ->use_gpio_descriptors flag. Retire
the code and fields used by the legacy GPIO API.

Do not drop the ->use_gpio_descriptors flag: it now only indicates
that we want to use GPIOs in addition to native chip selects.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220210231954.807904-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c
include/linux/spi/spi.h