backlight: max8831: Fix regulator name for max8831
Chaitanya Bandi [Fri, 11 Jan 2013 09:11:44 +0000 (14:11 +0530)]
Change-Id: I637451800cd217a0d71e7e17c064d1b6ed238733
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/190599
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

drivers/video/backlight/max8831_bl.c

index 6021e8c..c99a25f 100644 (file)
@@ -158,7 +158,7 @@ static int __devinit max8831_bl_probe(struct platform_device *pdev)
        data->is_powered = pData->is_powered;
        data->edp_brightness_states = pData->edp_brightness;
        data->regulator = regulator_get(data->max8831_dev,
-                       "avdd_backlight_3v0");
+                       "vin");
        if (IS_ERR(data->regulator)) {
                dev_err(&pdev->dev, "%s: Unable to get the backlight regulator\n",
                       __func__);