[PATCH 3/4] regulator/lp3971: drop unnecessary initialization

From: Wolfram Sang
Date: Fri Sep 18 2009 - 16:45:28 EST


Signed-off-by: Wolfram Sang <w.sang@xxxxxxxxxxxxxx>
---
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 a61018a..7803a32 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)
--
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/