diff mbox

input:bu21013: Update the regulator name

Message ID 1295609905-2905-1-git-send-email-naveen.gaddipati@stericsson.com (mailing list archive)
State New, archived
Headers show

Commit Message

Naveen Kumar GADDIPATI Jan. 21, 2011, 11:38 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/input/touchscreen/bu21013_ts.c b/drivers/input/touchscreen/bu21013_ts.c
index 1507ce1..03e60d3 100644
--- a/drivers/input/touchscreen/bu21013_ts.c
+++ b/drivers/input/touchscreen/bu21013_ts.c
@@ -460,7 +460,7 @@  static int __devinit bu21013_probe(struct i2c_client *client,
 	bu21013_data->chip = pdata;
 	bu21013_data->client = client;
 
-	bu21013_data->regulator = regulator_get(&client->dev, "V-TOUCH");
+	bu21013_data->regulator = regulator_get(&client->dev, "avdd");
 	if (IS_ERR(bu21013_data->regulator)) {
 		dev_err(&client->dev, "regulator_get failed\n");
 		error = PTR_ERR(bu21013_data->regulator);