diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2009-09-18 22:44:45 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2009-09-22 13:32:45 +0100 |
commit | 12a1d933a99e1a2901575390dceea3819f2a575a (patch) | |
tree | da56ae385a8a95e9cde91028eb9fc7c881873f3e /drivers | |
parent | a954c487b95e7061d9546f6897edbc20a73454d3 (diff) | |
download | linux-stable-12a1d933a99e1a2901575390dceea3819f2a575a.tar.gz linux-stable-12a1d933a99e1a2901575390dceea3819f2a575a.tar.bz2 linux-stable-12a1d933a99e1a2901575390dceea3819f2a575a.zip |
regulator/lp3971: drop unnecessary initialization
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/regulator/lp3971.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp3971.c b/drivers/regulator/lp3971.c index a61018a27698..7803a320543b 100644 --- a/drivers/regulator/lp3971.c +++ b/drivers/regulator/lp3971.c @@ -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) |