aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/lp3971.c2
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 = {
541 541
542static int __init lp3971_module_init(void) 542static int __init lp3971_module_init(void)
543{ 543{
544 int ret = -ENODEV; 544 int ret;
545 545
546 ret = i2c_add_driver(&lp3971_i2c_driver); 546 ret = i2c_add_driver(&lp3971_i2c_driver);
547 if (ret != 0) 547 if (ret != 0)