diff options
Diffstat (limited to 'drivers/mfd/twl-core.c')
-rw-r--r-- | drivers/mfd/twl-core.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index fae5f76d6ccb..c788e363ed56 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c | |||
@@ -949,6 +949,21 @@ add_children(struct twl4030_platform_data *pdata, unsigned long features) | |||
949 | /* twl6030 regulators */ | 949 | /* twl6030 regulators */ |
950 | if (twl_has_regulator() && twl_class_is_6030() && | 950 | if (twl_has_regulator() && twl_class_is_6030() && |
951 | !(features & TWL6025_SUBCLASS)) { | 951 | !(features & TWL6025_SUBCLASS)) { |
952 | child = add_regulator(TWL6030_REG_VDD1, pdata->vdd1, | ||
953 | features); | ||
954 | if (IS_ERR(child)) | ||
955 | return PTR_ERR(child); | ||
956 | |||
957 | child = add_regulator(TWL6030_REG_VDD2, pdata->vdd2, | ||
958 | features); | ||
959 | if (IS_ERR(child)) | ||
960 | return PTR_ERR(child); | ||
961 | |||
962 | child = add_regulator(TWL6030_REG_VDD3, pdata->vdd3, | ||
963 | features); | ||
964 | if (IS_ERR(child)) | ||
965 | return PTR_ERR(child); | ||
966 | |||
952 | child = add_regulator(TWL6030_REG_VMMC, pdata->vmmc, | 967 | child = add_regulator(TWL6030_REG_VMMC, pdata->vmmc, |
953 | features); | 968 | features); |
954 | if (IS_ERR(child)) | 969 | if (IS_ERR(child)) |