spi: stm32-qspi: Replace of_gpio_named_count() by gpiod_count()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 30 Aug 2022 18:28:20 +0000 (21:28 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 31 Aug 2022 11:13:10 +0000 (12:13 +0100)
commiteea0e7d20d6dab38522ac0a3af61fd92c53c34f6
treeb9695d63ab34cc0a796462443df4c24aa6fd61c4
parentfb43eb0a930ca9474484b1ff04c3fd532efdc8e3
spi: stm32-qspi: Replace of_gpio_named_count() by gpiod_count()

As a preparation to unexport of_gpio_named_count(), convert the
driver to use gpiod_count() instead.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20220830182821.47919-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32-qspi.c