]> err.no Git - linux-2.6/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)
commitf6b6b180b4614e57af217045f71caedd94821fc7
tree57dae17cfd4548dda56c9740e6666866cfd236cb
parenta985aabe4d7a720b109c2b63549f8641676a9c88
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