On Thu, Sep 25, 2014 at 11:47 AM, <robert.jarzmik@xxxxxxx> wrote: >> } else { >> udv->gpiod = devm_gpiod_get(&pdev->dev, ...); >> } >> Here you can also use the flags. > > Yeah, but my problem is in the if statement, not in the else. The else is for > the DT/ACPI cases, in which there is no problem. Damned mailer sent of the mail before I was finished. Well you got the solution anyway, check it out. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html