Skip to content
Commit d9463201 authored by Andy Shevchenko's avatar Andy Shevchenko
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarFabien Dessenne <fabien.dessenne@foss.st.com>
parent 0b19dde9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment