On Tue 08 Feb 08:52 CST 2022, Satya Priya wrote: > diff --git a/drivers/regulator/qcom-pm8008-regulator.c b/drivers/regulator/qcom-pm8008-regulator.c [..] > +static int pm8008_regulator_probe(struct platform_device *pdev) > +{ > + struct device *dev = &pdev->dev; > + int id = pdev->id % PM8008_NUM_LDOS; Why does this driver look completely different from all the other Qualcomm regulator drivers that we already have, and why do you register one platform_device per regulator? The fundamental difference in design makes it hard to maintain and you're wasting quite a bit of memory with the unnecessary platfrom_device objects. Regards, Bjorn