x86, olpc-xo1-sci: Propagate power supply/battery events
authorDaniel Drake <dsd@laptop.org>
Sat, 25 Jun 2011 16:34:16 +0000 (17:34 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 6 Jul 2011 21:44:40 +0000 (14:44 -0700)
commite1040ac693bac19eaeafbd6c5fd24d9429b5eeb8
treefad8ac00517137d31674f6999a8d662ef4af19d5
parent2cf2baea103f0a3d68b0f989d28df66f16dbc834
x86, olpc-xo1-sci: Propagate power supply/battery events

EC events indicate change in AC power connectivity, battery state of
charge, battery error, battery presence, etc. Send notifications to
the power supply subsystem when changes are detected.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Link: http://lkml.kernel.org/r/1309019658-1712-10-git-send-email-dsd@laptop.org
Acked-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/Kconfig
arch/x86/platform/olpc/olpc-xo1-sci.c