[media] smiapp: Use better regulator name for the Device tree
authorSakari Ailus <sakari.ailus@iki.fi>
Sun, 4 May 2014 00:31:55 +0000 (21:31 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 14:30:52 +0000 (11:30 -0300)
Rename "VANA" regulator as "vana".

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c

index db3d5a64d2ca358a1bccb406f1bf433c41a09fbc..c2165fd6f7f442a85480254f622a73ee1f1bddcd 100644 (file)
@@ -2355,7 +2355,7 @@ static int smiapp_registered(struct v4l2_subdev *subdev)
        unsigned int i;
        int rval;
 
-       sensor->vana = devm_regulator_get(&client->dev, "VANA");
+       sensor->vana = devm_regulator_get(&client->dev, "vana");
        if (IS_ERR(sensor->vana)) {
                dev_err(&client->dev, "could not get regulator for vana\n");
                return -ENODEV;