gpio: Fix uninitialized variable bit in adp5588_irq_handler
authorAxel Lin <axel.lin@gmail.com>
Fri, 6 Apr 2012 12:37:43 +0000 (20:37 +0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 15:00:06 +0000 (20:00 +0530)
commit02790ad56693f74d2a46a4a28229addab28a13ba
tree160385039187db093329b9f306c792bbf0f6da2b
parent409afabd65d2fd9b7a0002d464187701deacdaf8
gpio: Fix uninitialized variable bit in adp5588_irq_handler

The variable 'bit' is uninitialized in the first iteration of for
loop. Fix it.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-adp5588.c