[PATCH 4/4] ACPI / bind: Redefine acpi_preset_companion()

2013-11-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify acpi_preset_companion() to take a struct acpi_device pointer instead of an ACPI handle as its second argument and redefine it as a static inline wrapper around ACPI_COMPANION_SET() passing the return value of acpi_find_child_device() directly as the second argument

[PATCH 4/4] ACPI / bind: Redefine acpi_preset_companion()

2013-11-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Modify acpi_preset_companion() to take a struct acpi_device pointer instead of an ACPI handle as its second argument and redefine it as a static inline wrapper around ACPI_COMPANION_SET() passing the return value of acpi_find_child_device()