commit | d9463201ec0824037a9ca84b9bb03a79d4460cfb | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Apr 01 13:35:54 2022 +0300 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Apr 08 15:54:54 2022 +0300 |
tree | 90a44be1713578feba5fd3d9e1da846f8ec5f494 | |
parent | 0b19dde90ad004592792a928c75e80612be3e2e8 [diff] |
pinctrl: stm32: Replace custom code by gpiochip_node_count() call Since we have generic function to count GPIO controller nodes under a given device, there is no need to open code it. Replace custom code by gpiochip_node_count() call. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Fabien Dessenne <fabien.dessenne@foss.st.com>