error: passing argument 1 of 'of_find_property' from incompatible pointer type
drivers/pinctrl/pinctrl-xburst2.c: In function 'ingenic_gpiolib_register':
drivers/pinctrl/pinctrl-xburst2.c:740:25: error: passing argument 1 of 'of_find_property' from incompatible pointer type [-Werror=incompatible-pointer-types]
if (!of_find_property(fwnode, "gpio-controller", NULL))
^~~~~~
- if (!of_find_property(child, "gpio-controller", NULL)) {
+ if (!fwnode_property_present(child, "gpio-controller")) {
+ fwnode_handle_put(child);
1074e1d23a5c201b6558878a09f1d2b7c9506835