summaryrefslogtreecommitdiff
path: root/drivers/acpi/bus.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2010-11-24 23:06:09 (GMT)
committerLen Brown <len.brown@intel.com>2011-01-12 09:48:43 (GMT)
commitd2ef555b57292cd818934636ac8e3414cc2a6762 (patch)
tree6fbe86ad458f20f146dbfb22d624052c644f9ac0 /drivers/acpi/bus.c
parent32a00d274e877eab3ea7ab196b75c9be5170d25e (diff)
downloadlinux-fsl-qoriq-d2ef555b57292cd818934636ac8e3414cc2a6762.tar.xz
ACPI / PM: Add functions for manipulating lists of power resources
ACPI device power resources should be reference counted during device initialization, so that their reference counters are always up to date. It is convenient to do that with the help of a function that will reference count and possibly turn on power resources in a given list, so introduce that function, acpi_power_on_list(). For symmetry, introduce acpi_power_off_list() for performing the reverse operation and use the both of them to simplify acpi_power_transition(). Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/bus.c')
0 files changed, 0 insertions, 0 deletions