]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50c1ec470cb4b98efdeee614e94bed02dbd9647c
treec901b49a65642c43918ec85d0051b7c237b862f9
parentf2a4802ca664c463c6aeaac55c3aa664a9997441
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