input:bu21013: Update the regulator name

Started by Naveen Kumar G on Jan 21, 2011 · 2 messages from 2 authors · Last reply Jan 21, 2011

Subsystems (2)

Maintainers (2)

STALE5795d

open the first message on its own page

Message details and related content
From: Naveen Kumar Gaddipati <redacted>

Update the regulator name for getting the regulator of
the bu21013 touch device.

Signed-off-by: Naveen Kumar Gaddipati <redacted>
---
 drivers/input/touchscreen/bu21013_ts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
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);
-- 
1.7.2.dirty
Message details and related content
On Fri, Jan 21, 2011 at 05:08:25PM +0530, Naveen Kumar G wrote:
From: Naveen Kumar Gaddipati <redacted>

Update the regulator name for getting the regulator of
the bu21013 touch device.
... because <list of reasons this change is needed>.

Thanks.
quoted hunk
Signed-off-by: Naveen Kumar Gaddipati <redacted>
---
 drivers/input/touchscreen/bu21013_ts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
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);
-- 
1.7.2.dirty
-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help