Re: [PATCH v4 4/8] regulator: stpmic1: add stpmic1 regulator driver

Mark Brown
2018-10-24T13:17:27Z

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

On Wed, Oct 24, 2018 at 12:54:46PM +0000, Pascal PAILLET-LME wrote:

> I'm sorry, I'm not sure to understand. Would you prefer to not register
> regulators that
> are not described in the device-tree ?

No, I'm saying register all regulators regardless of if they are in the
device tree - you shouldn't be looking at the init data at all here,
just let the framework match them using of_match.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]