pinctrl: apple: return an error if pinmux is missing in the DT
If of_property_count_u32_elems returned 0, return -EINVAL to indicate
a failure. Previously this would return 0.
Signed-off-by:
Joey Gouly <joey.gouly@arm.com>
Please register or sign in to comment