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