Hi Keerthy, > + rdev = regulator_register(®ulators[id], &config); Can you make use of "devm_regulator_register" instead? > + if (IS_ERR(rdev)) { > + dev_err(tps->dev, "failed to register %s regulator\n", > + pdev->name); > + return PTR_ERR(rdev); > + } > + > + /* Save regulator */ > + tps->rdev[id] = rdev; > + > + return 0; > +} Best Regards Manish Badarkhe -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html