Messages in this thread | | | Date | Wed, 27 Apr 2016 15:25:22 +0100 | From | Mark Brown <> | Subject | Re: [PATCH 2/2] regulator: axp20x: Handle regulator_register returning ENODEV |
| |
On Wed, Apr 27, 2016 at 04:03:45PM +0200, Hans de Goede wrote:
> rdev = devm_regulator_register(&pdev->dev, desc, &config); > if (IS_ERR(rdev)) { > + if (PTR_ERR(rdev) == -ENODEV) > + continue; > +
We would need to do this in every single regulator driver which is a bit of a warning sign too... [unhandled content-type:application/pgp-signature] | |