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)
commit5cdd4d7fa5424f2018193a0c2af3bef9036c973e
treeb265281c6e2483fa068b9d6f4338d85b292dfa93
parentd6f0b00c0a5f21a54b7f44838f3c3bf73d37b920
max17042_battery: Clean up interrupt handling

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