Re: [PATCH] regulator: max77650: add of_match table

From: Mark Brown
Date: Tue Dec 10 2019 - 07:12:32 EST


On Tue, Dec 10, 2019 at 11:07:25AM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
>
> We need the of_match table if we want to use the compatible string in
> the pmic's child node and get the regulator driver loaded automatically.

Why would we need to use a compatible string in a child node to load the
regulator driver, surely we can just register a platform device in the
MFD?

Attachment: signature.asc
Description: PGP signature