On Thu, Sep 10, 2015 at 6:38 AM, Peng Fan <van.freenix@xxxxxxxxx> wrote: > Need to do error handling path when pinctrl_get fails. Also when > pinctrl_get success, insert 'pctldev->node' to pinctrldev_list. > > Signed-off-by: Peng Fan <van.freenix@xxxxxxxxx> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> I think this patch is totally wrong and you have probably not tested it using pinctrl hogs. pinctr_get() from self will *not work* unless the device is added to the list *first*. Dropping this. 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