With the latest next kernel I get a NPE caused by mentioned commit. The change doesn't consider that the flags parameter can be NULL, e.g. of_get_named_gpio() sets it to NULL. All that of_gpio_flags_quirks() does is adjusting the flags, so the following simple change fixed the issue for me. if (flags) of_gpio_flags_quirks(np, flags); -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html