summaryrefslogtreecommitdiff
path: root/lib/fdt_ro.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-22 11:56:16 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-22 11:56:16 (GMT)
commit87e753b0065f94314ebdacf6593a172cdd7839c8 (patch)
treec2c44ee42101182bcf811019c92ee1a89025654c /lib/fdt_ro.c
parente78adb7595a9d585c60a7497345cb6eaeaaacefb (diff)
downloadlinux-87e753b0065f94314ebdacf6593a172cdd7839c8.tar.xz
ACPI / PM: Sanitize checks in acpi_power_on_resources()
After the only user of acpi_power_on_resources(), acpi_bus_init_power(), has been changed to avoid calling it for state equal to ACPI_STATE_D3_COLD, it doesn't have to special case that state any more. For this reason, modify the checks in acpi_power_on_resources() so that it returns -EINVAL for ACPI_STATE_D3_COLD as it should. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/fdt_ro.c')
0 files changed, 0 insertions, 0 deletions