Em Wed, 3 Feb 2021 13:46:20 +0000
Mark Brown <[email protected]> escreveu:
> On Wed, Feb 03, 2021 at 08:01:53AM +0100, Mauro Carvalho Chehab wrote:
>
> > + reg = devm_regulator_get_optional(dev, "pci");
> > + if (IS_ERR_OR_NULL(reg)) {
> > + if (PTR_ERR(reg) == -EPROBE_DEFER)
> > + return PTR_ERR(reg);
> > + } else {
> > + ret = regulator_enable(reg);
>
> This is still misuse of regulator_get_optional() for the same reason.
Sorry, it seems to be a badly solved rebase conflict. I'll address it
at the next round.
Thanks,
Mauro