olpc_battery: Bind to device tree
commitc3503fd02558245ebbb0b48f3ae1d62416e3fd2a
authorDaniel Drake <dsd@laptop.org>
Wed, 10 Aug 2011 20:45:36 +0000 (10 21:45 +0100)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 19 Aug 2011 17:03:24 +0000 (19 21:03 +0400)
tree4349bcdaaff892a3aa5b9b56631295c3a4fd798b
parent35c3ae5eef3fc641c75c5e1e4307835c8efa5f6b
olpc_battery: Bind to device tree

This is cleaner, and allows suspend/resume (wakeup) handlers to be
added in an upcoming patch.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Documentation/devicetree/bindings/power_supply/olpc_battery.txt [new file with mode: 0644]
drivers/power/olpc_battery.c