History log of /drivers/power/collie_battery.c
Revision Date Author Comments
629bcb4b72d49b3631ae3dd0fe1d345820fadfcc 19-Nov-2011 Jochen Friedrich <jochen@scram.de> collie_battery: Get rid of irq_to_gpio usage

Since 9d08d5d77a355510c2f5657c86b0a4b25acfe72c, irq_to_gpio() is no
longer available but still in use by collie_battery.c. As it's just
for a debug message, just get rid of this call.

Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
389cd203d611db376c8226e6a7363104ca3769de 26-Aug-2011 Axel Lin <axel.lin@gmail.com> collie_battery: Convert to gpio_request_array() / gpio_free_array()

As suggested by Igor Grinberg, this change make the implementation looks
simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
bc51e7ff521f28a7f14dc2f25307ad9101d1305a 11-Dec-2010 Tejun Heo <tj@kernel.org> power_supply: Don't use flush_scheduled_work()

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>
f1fce597e68c91f04381ad869579fd2fe6064101 10-Feb-2009 Thomas Kunze <thommycheck@gmx.de> collie: add battery driver

This driver is based on tosa_battery.c.