aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2014-05-03 20:31:55 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-23 10:30:52 -0400
commit5fba9888c1303a65bd788b34846867477fac7911 (patch)
tree47de6bd2237e41664b5a2b20dee92c41dc1ed816
parentaca6bf5432dafb44791128c3e181c59ec87af041 (diff)
[media] smiapp: Use better regulator name for the Device tree
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>
-rw-r--r--drivers/media/i2c/smiapp/smiapp-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c
index db3d5a64d2ca..c2165fd6f7f4 100644
--- a/drivers/media/i2c/smiapp/smiapp-core.c
+++ b/drivers/media/i2c/smiapp/smiapp-core.c
@@ -2355,7 +2355,7 @@ static int smiapp_registered(struct v4l2_subdev *subdev)
2355 unsigned int i; 2355 unsigned int i;
2356 int rval; 2356 int rval;
2357 2357
2358 sensor->vana = devm_regulator_get(&client->dev, "VANA"); 2358 sensor->vana = devm_regulator_get(&client->dev, "vana");
2359 if (IS_ERR(sensor->vana)) { 2359 if (IS_ERR(sensor->vana)) {
2360 dev_err(&client->dev, "could not get regulator for vana\n"); 2360 dev_err(&client->dev, "could not get regulator for vana\n");
2361 return -ENODEV; 2361 return -ENODEV;