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

From: Keerthy
Date: Fri May 06 2016 - 08:36:57 EST




On Friday 06 May 2016 05:32 PM, Mark Brown wrote:
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.

Okay. I will send v2 with compatibles removed.

Thanks,
Keerthy