linux_dsm_epyc7002/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
..
apm_power.c Driver Core: add ability for class_for_each_device to start in middle of list 2008-07-21 21:54:47 -07:00
ds2760_battery.c drivers/power: fix platform driver hotplug/coldplug 2008-07-25 10:53:28 -07:00
Kconfig Merge branch 'master' of /home/cbou/linux-2.6 2008-07-30 02:05:23 +04:00
Makefile Merge branch 'master' of /home/cbou/linux-2.6 2008-07-30 02:05:23 +04:00
olpc_battery.c power_supply: fix up CHARGE_COUNTER output to be more precise 2008-05-19 01:44:36 +04:00
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 PMU battery: filenames in sysfs with spaces 2008-05-03 03:40:42 +04:00
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: replace remaining __FUNCTION__ occurrences 2008-04-29 08:05:58 -07:00
power_supply_sysfs.c Merge branch 'master' of /home/cbou/linux-2.6 2008-07-30 02:05:23 +04:00
power_supply.h Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
tosa_battery.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00