From 1263594ac4592804a8f49e73b42ed9c2f41644db Mon Sep 17 00:00:00 2001 From: mattis fjallstrom Date: Fri, 30 Oct 2015 16:03:32 -0700 Subject: Power changes: Removed dummy regulators, added cpufreq table initialization and makes sure that cpufreq gets initialized properly. Change-Id: I679d86c150e4acee098e4a5cfe1855d46fac872a --- drivers/leds/leds-lm3530.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'drivers/leds/leds-lm3530.c') 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); -- cgit v1.2.3-70-g09d2