diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-04-15 13:47:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-18 16:47:39 +0200 |
commit | 073a77d03ee88ae3a5504b3f73632841a55d60a1 (patch) | |
tree | d71b7b42bf5045257cb310f075616661ff993ffd /drivers/regulator | |
parent | Linux 3.15-rc1 (diff) | |
download | linux-073a77d03ee88ae3a5504b3f73632841a55d60a1.tar.xz linux-073a77d03ee88ae3a5504b3f73632841a55d60a1.zip |
regulator: tps65217: Remove *rdev[] from struct tps65217
Now this driver uses devm_regulator_register() so we don't need to save rdev
pointer to tps->rdev[i] for cleanup.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/tps65217-regulator.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/regulator/tps65217-regulator.c b/drivers/regulator/tps65217-regulator.c index 10b78d2b766a..8482f6ba08a1 100644 --- a/drivers/regulator/tps65217-regulator.c +++ b/drivers/regulator/tps65217-regulator.c @@ -257,9 +257,6 @@ static int tps65217_regulator_probe(struct platform_device *pdev) pdev->name); return PTR_ERR(rdev); } - - /* Save regulator for cleanup */ - tps->rdev[i] = rdev; } return 0; } |