static int twlreg_grp(struct regulator_dev *rdev) { return twlreg_read(rdev_get_drvdata(rdev), TWL_MODULE_PM_RECEIVER, VREG_GRP); }
static int twl6030smps_get_voltage_sel(struct regulator_dev *rdev) { struct twlreg_info *info = rdev_get_drvdata(rdev); return twlreg_read(info, TWL_MODULE_PM_RECEIVER, VREG_VOLTAGE_SMPS); }