ACPI: Eliminate the DEVICE_ACPI_HANDLE() macro
Since DEVICE_ACPI_HANDLE() is now literally identical to ACPI_HANDLE(), replace it with the latter everywhere and drop its definition from include/acpi.h. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -482,8 +482,6 @@ static inline bool acpi_driver_match_device(struct device *dev,
|
||||
|
||||
#endif /* !CONFIG_ACPI */
|
||||
|
||||
#define DEVICE_ACPI_HANDLE(dev) ACPI_HANDLE(dev)
|
||||
|
||||
#ifdef CONFIG_ACPI
|
||||
void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state,
|
||||
u32 pm1a_ctrl, u32 pm1b_ctrl));
|
||||
|
Reference in New Issue
Block a user