Input: lm8323 - fix error handling in lm8323_probe()
authorDan Carpenter <error27@gmail.com>
Mon, 28 Jun 2010 18:34:24 +0000 (11:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 28 Jun 2010 18:35:15 +0000 (11:35 -0700)
We reuse the "i" variable later on so if we goto fail3 or fail4
then "i" will be set to the wrong thing and cause a crash.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found