regulator: max8973: Fix callback setting for max8973_dcdc_ops.enable
[deliverable/linux.git] / drivers / regulator / max8973-regulator.c
index e6328f935767ba6b84b32d450b0ab5c929e4fd1c..140ff9d137ecb71893b51ba42554bcf40224e2d4 100644 (file)
@@ -401,7 +401,7 @@ static int __devinit max8973_probe(struct i2c_client *client,
        if (pdata->enable_ext_control) {
                max->desc.enable_reg = MAX8973_VOUT;
                max->desc.enable_mask = MAX8973_VOUT_ENABLE;
-               max8973_dcdc_ops.enable = regulator_is_enabled_regmap;
+               max8973_dcdc_ops.enable = regulator_enable_regmap;
                max8973_dcdc_ops.disable = regulator_disable_regmap;
                max8973_dcdc_ops.is_enabled = regulator_is_enabled_regmap;
        }
This page took 0.044504 seconds and 5 git commands to generate.