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: NDaniel Drake <dsd@laptop.org> Acked-by: NAndres Salomon <dilinger@queued.net> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
Showing
想要评论请 注册 或 登录