power: ab8500_fg: Fix build warning
authorGuenter Roeck <linux@roeck-us.net>
Sat, 4 Oct 2014 23:31:13 +0000 (16:31 -0700)
committerSebastian Reichel <sre@kernel.org>
Sun, 5 Oct 2014 00:10:20 +0000 (02:10 +0200)
Fix

drivers/power/ab8500_fg.c: In function 'ab8500_fg_probe':
drivers/power/ab8500_fg.c:2989:27:
warning: 'i' may be used uninitialized in this function
drivers/power/ab8500_fg.c:2972:15: note: 'i' was declared here

which actually points to a real bug.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sebastian Reichel <sre@kernel.org>

No differences found