]> git.karo-electronics.de Git - linux-beck.git/commit
max17042_battery: Handle irq request failure case
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Fri, 4 May 2012 23:13:10 +0000 (04:43 +0530)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Sat, 5 May 2012 10:31:04 +0000 (03:31 -0700)
commite5ba50bc3b9311256ae6a6620e7708fb25d1f6e2
treec2e332db07011193fe61ea390ee48a4df9b1839f
parent243e3527ffbda96434429e618324f80ca0d98902
max17042_battery: Handle irq request failure case

suspend/resume functions take action based upon the fuel gauge
interrupt. If the rquest irq fails we should assign 0 to client->irq.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/max17042_battery.c