On Thu, Apr 14, 2022 at 05:25:49PM -0700, Stephen Boyd wrote: > Quoting Satya Priya (2022-04-14 05:30:16) > > +static struct platform_driver pm8008_regulator_driver = { > > + .driver = { > > + .name = "qcom-pm8008-regulator", > I'd prefer to use an of_device_id table here. That would let us populate > a "qcom,pm8008-regulators" node that had the ldo nodes as children and > avoid mfd cells. That's encoding the current Linux way of splitting up drivers into the DT rather than describing the hardware.
Attachment:
signature.asc
Description: PGP signature