summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lm3530.c
diff options
context:
space:
mode:
authorEvan Wilson <evan@oliodevices.com>2015-12-11 16:55:48 -0800
committerEvan Wilson <evan@oliodevices.com>2015-12-11 16:55:48 -0800
commit606779d73f51a0ebe81f691bd7c173fc1740be24 (patch)
tree42e68bd40f3a375dfbb5ba940c6de9b4591f9016 /drivers/leds/leds-lm3530.c
parentb6602fe7788593d7c5e02ae7bb5616ebc6f63f2c (diff)
parentb258e74fe4251438954e0fc08575f4b15ab35605 (diff)
downloadolio-linux-3.10-606779d73f51a0ebe81f691bd7c173fc1740be24.tar.xz
olio-linux-3.10-606779d73f51a0ebe81f691bd7c173fc1740be24.zip
Merge remote-tracking branch 'olio/android-3.10-bringup' into 1.1.45
Conflicts: drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_core.c drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c drivers/power/bq27x00_battery.c Change-Id: Iafb1129617680cd2705bc05eb49faaafff325692
Diffstat (limited to 'drivers/leds/leds-lm3530.c')
-rw-r--r--drivers/leds/leds-lm3530.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/leds/leds-lm3530.c b/drivers/leds/leds-lm3530.c
index fda0efb4f88..89499d369ea 100644
--- a/drivers/leds/leds-lm3530.c
+++ b/drivers/leds/leds-lm3530.c
@@ -449,7 +449,11 @@ static int lm3530_probe(struct i2c_client *client,
i2c_set_clientdata(client, drvdata);
- drvdata->regulator = devm_regulator_get(&client->dev, "vin");
+ /* OLIO: The regulator name should be passed through the platform_data
+ * structure. Fixme.
+ */
+
+ drvdata->regulator = devm_regulator_get(&client->dev, "vdds_dsi");
if (IS_ERR(drvdata->regulator)) {
dev_err(&client->dev, "regulator get failed\n");
err = PTR_ERR(drvdata->regulator);