On Fri, Dec 15, 2017 at 11:08 AM, Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> wrote: > On Thu, Dec 14, 2017 at 02:37:07PM +0100, Linus Walleij wrote: >> Looking forward to good ideas on how to solve this! > > I think we can fix this by passing struct fwnode_handle to > devprop_gpiochip_set_names(). Then the existing drivers don't need to be > changed and we update of_gpiochip_add() to call it like: > > devprop_gpiochip_set_names(chip, of_fwnode_handle(chip->of_node)); > > or so. > >> Mika: is is possible to revert this without breaking something else, if we >> need to? > > It breaks ACPI "gpio-line-names" users but I think we don't need to > revert if if do what I'm proposing above :) OK let's try that! Looking forward to your patch. (I hope.) Yours, Linus Walleij -- 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