spi: mpc52xx: Replace of_gpio_count() by gpiod_count()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Sep 2022 15:33:33 +0000 (18:33 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 14 Sep 2022 17:34:54 +0000 (18:34 +0100)
commita0c4b120431172490793fb21d43c908b35fd3e50
tree1cc9d81e5922cba17804a72271f90b5f8f5d8eff
parent64ca1a034f00bf6366701df0af9194a6425d5406
spi: mpc52xx: Replace of_gpio_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>
Link: https://lore.kernel.org/r/20220914153333.37701-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mpc52xx.c