max17042_battery: Clean up interrupt handling
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Tue, 20 Mar 2012 21:33:16 +0000 (03:03 +0530)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 26 Mar 2012 16:41:29 +0000 (20:41 +0400)
Max17042 driver has dummy hardIRQ function which
does nothing but waking the threaded handler.

This patch removes the hardIRQ function and also
modifies the interrupt type to falling edge. While
we are there, change the macros to comply with the
Data sheet.

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

Simple merge