power: bq27xxx_battery: Add interrupt handling support
authorAndrew F. Davis <afd@ti.com>
Tue, 22 Sep 2015 19:35:11 +0000 (14:35 -0500)
committerSebastian Reichel <sre@kernel.org>
Wed, 23 Sep 2015 15:36:18 +0000 (17:36 +0200)
commit8807feb91b76dc3267cef58302aaeff3430cb8f2
tree9e1c74276c3f77501d0fec1f55c84c90e69e2aac
parent74aab849f3423f3f783a8e5e9767572c2b59b353
power: bq27xxx_battery: Add interrupt handling support

Some devices have a pin that can generate an interrupt when
the battery's status changes. Add an interrupt handler to
read the new battery status.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/bq27xxx_battery.c