treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / acpi / sleep.h
blob41675d24a9bc0a9e8b1efaf1941d9c4b975940ff
1 /* SPDX-License-Identifier: GPL-2.0 */
3 extern void acpi_enable_wakeup_devices(u8 sleep_state);
4 extern void acpi_disable_wakeup_devices(u8 sleep_state);
6 extern struct list_head acpi_wakeup_device_list;
7 extern struct mutex acpi_device_lock;
9 extern void acpi_resume_power_resources(void);
10 extern void acpi_turn_off_unused_power_resources(void);
12 static inline acpi_status acpi_set_waking_vector(u32 wakeup_address)
14 return acpi_set_firmware_waking_vector(
15 (acpi_physical_address)wakeup_address, 0);