Commit 5fba9888 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

[media] smiapp: Use better regulator name for the Device tree

Rename "VANA" regulator as "vana".
Signed-off-by: default avatarSakari Ailus <sakari.ailus@iki.fi>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent aca6bf54
...@@ -2355,7 +2355,7 @@ static int smiapp_registered(struct v4l2_subdev *subdev) ...@@ -2355,7 +2355,7 @@ static int smiapp_registered(struct v4l2_subdev *subdev)
unsigned int i; unsigned int i;
int rval; int rval;
sensor->vana = devm_regulator_get(&client->dev, "VANA"); sensor->vana = devm_regulator_get(&client->dev, "vana");
if (IS_ERR(sensor->vana)) { if (IS_ERR(sensor->vana)) {
dev_err(&client->dev, "could not get regulator for vana\n"); dev_err(&client->dev, "could not get regulator for vana\n");
return -ENODEV; return -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment