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

From: Mark Brown
Date: Wed Oct 24 2018 - 09:17:27 EST


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: signature.asc
Description: PGP signature