Re: [PATCH 3/3] regulator: lp873x: Add support for lp873x PMIC regulators

From: Mark Brown
Date: Fri May 06 2016 - 08:02:24 EST


On Fri, May 06, 2016 at 10:13:24AM +0530, Keerthy wrote:

> I am using of_platform_populate function in the mfd driver to create
> platform devices for the child nodes, in my case regulators.

> of_platform_populate in turn calls on to of_platform_bus_create which
> mandates compatible properties. It quietly skips device creation if there
> are no compatible properties.

You shouldn't be using that, you should just have a table of subdevices
in the MFD.

Attachment: signature.asc
Description: PGP signature