original_kernel/drivers/power
Matthew Garrett 942ed16194 power_supply: Add function to return system-wide power state
Certain drivers benefit from knowing whether the system is on ac or
battery, for instance when determining which backlight registers to
read. This adds a simple call to determine whether there's an online
power supply other than any batteries.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
2008-09-01 02:42:54 +04:00
..
Kconfig
Makefile
apm_power.c
ds2760_battery.c
olpc_battery.c
palmtx_battery.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
pda_power.c pda_power: Check and handle return value of set_irq_wake 2008-09-01 02:10:06 +04:00
pmu_battery.c
power_supply.h
power_supply_core.c power_supply: Add function to return system-wide power state 2008-09-01 02:42:54 +04:00
power_supply_leds.c
power_supply_sysfs.c
tosa_battery.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00