]> git.baikalelectronics.ru Git - kernel.git/commit
pda_power: add init and exit function callbacks
authorPhilipp Zabel <philipp.zabel@gmail.com>
Sat, 12 Apr 2008 11:47:45 +0000 (13:47 +0200)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 2 May 2008 23:39:55 +0000 (03:39 +0400)
commit38400ab43394c0f7de41af49de3c57d7660553e4
tree57dae17cfd4548dda56c9740e6666866cfd236cb
parent71e658aeed094f2e8d6dffcb38b2bd395a11d744
pda_power: add init and exit function callbacks

This adds init/exit function callbacks to pda_power, to
provide a place where the platform code can request/free
GPIOs that it wants to use in the is_ac_online, is_usb_online
and set_charge functions.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/pda_power.c
include/linux/pda_power.h