summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2011-04-28 11:41:24 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:06:04 +0200
commit7d1bd90be3854842014fbdff89f1751df9cd5567 (patch)
treee94cfebceaeeb5c6d77344c8eb4be79bb5cdfaa2
parentd7c90be4603f5cc4364a6bb648393f924f0a6f1f (diff)
hwmon: change L3G4200D regulators name for 2.6.38
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
-rw-r--r--drivers/hwmon/l3g4200d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/l3g4200d.c b/drivers/hwmon/l3g4200d.c
index 718abbb748b..bd78d4b003b 100644
--- a/drivers/hwmon/l3g4200d.c
+++ b/drivers/hwmon/l3g4200d.c
@@ -439,7 +439,7 @@ static int __devinit l3g4200d_probe(struct i2c_client *client,
dev_set_name(&client->dev, ddata->pdata.name_gyr);
- ddata->regulator = regulator_get(&client->dev, "v-gyro");
+ ddata->regulator = regulator_get(&client->dev, "vdd");
if (IS_ERR(ddata->regulator)) {
dev_err(&client->dev, "failed to get regulator\n");
ret = PTR_ERR(ddata->regulator);