aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/collie_battery.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-12-22power_supply: Don't use flush_scheduled_work()Tejun Heo1-7/+6
flush_scheduled_work() is deprecated and scheduled to be removed. In battery drivers, the work can be canceled on probe failure and removal and should be flushed on suspend. Replace flush_scheduled_work() usages with direct cancels and flushes. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
2009-11-27collie: add battery driverThomas Kunze1-0/+418
This driver is based on tosa_battery.c.