Skip to content

Commit

Permalink
regulator/lp3971: drop unnecessary initialization
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
  • Loading branch information
Wolfram Sang authored and Liam Girdwood committed Sep 22, 2009
1 parent a954c48 commit 12a1d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/lp3971.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ static struct i2c_driver lp3971_i2c_driver = {

static int __init lp3971_module_init(void)
{
int ret = -ENODEV;
int ret;

ret = i2c_add_driver(&lp3971_i2c_driver);
if (ret != 0)
Expand Down

0 comments on commit 12a1d93

Please sign in to comment.