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>
This commit is contained in:
Wolfram Sang 2009-09-18 22:44:45 +02:00 committed by Liam Girdwood
parent a954c487b9
commit 12a1d933a9

View file

@ -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)