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

pinctrl: meson: 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>
Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
parent 6671d0bc
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