diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-11-21 22:11:46 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-11-28 01:45:35 -0500 |
commit | 8c587f7709f7f6377842968562bcf51ee6f47f09 (patch) | |
tree | 9446bfc32b5aa9eef12d17b0397256aacbc045a3 /drivers/input/touchscreen | |
parent | 64db3648e87dceb87ff05d83b1f408f8f691c429 (diff) |
Input: bu21013_ts - request regulator that actually exists
Currently the BU21013 Touch Screen driver requests a regulator by the
name of 'V-TOUCH', which doesn't exist anywhere in the kernel. The
correct name, as referenced in platform regulator code is 'avdd'. Here,
when we request a regulator, we use the correct name instead.
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | 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 59a8ce86fcda..1e8cddd06c60 100644 --- a/drivers/input/touchscreen/bu21013_ts.c +++ b/drivers/input/touchscreen/bu21013_ts.c | |||
@@ -461,7 +461,7 @@ static int bu21013_probe(struct i2c_client *client, | |||
461 | bu21013_data->chip = pdata; | 461 | bu21013_data->chip = pdata; |
462 | bu21013_data->client = client; | 462 | bu21013_data->client = client; |
463 | 463 | ||
464 | bu21013_data->regulator = regulator_get(&client->dev, "V-TOUCH"); | 464 | bu21013_data->regulator = regulator_get(&client->dev, "avdd"); |
465 | if (IS_ERR(bu21013_data->regulator)) { | 465 | if (IS_ERR(bu21013_data->regulator)) { |
466 | dev_err(&client->dev, "regulator_get failed\n"); | 466 | dev_err(&client->dev, "regulator_get failed\n"); |
467 | error = PTR_ERR(bu21013_data->regulator); | 467 | error = PTR_ERR(bu21013_data->regulator); |