Searched hist:"9 c5ad36d987a1b06f6b0b9dc7bc61a45d277455d" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/mmc/core/ |
H A D | sdio_bus.c | diff 9c5ad36d987a1b06f6b0b9dc7bc61a45d277455d Thu Nov 28 16:58:28 CST 2013 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI / bind: Redefine acpi_preset_companion()
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 to it. Update its users to pass struct acpi_device pointers instead of ACPI handles to it.
This allows some unnecessary acpi_bus_get_device() calls to be avoided.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Aaron Lu <aaron.lu@intel.com> Tested-by: Aaron Lu <aaron.lu@intel.com> # for ATA binding
|
/openbmc/linux/drivers/ata/ |
H A D | libata-acpi.c | diff 9c5ad36d987a1b06f6b0b9dc7bc61a45d277455d Thu Nov 28 16:58:28 CST 2013 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI / bind: Redefine acpi_preset_companion()
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 to it. Update its users to pass struct acpi_device pointers instead of ACPI handles to it.
This allows some unnecessary acpi_bus_get_device() calls to be avoided.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Aaron Lu <aaron.lu@intel.com> Tested-by: Aaron Lu <aaron.lu@intel.com> # for ATA binding
|
/openbmc/linux/drivers/acpi/ |
H A D | glue.c | diff 9c5ad36d987a1b06f6b0b9dc7bc61a45d277455d Thu Nov 28 16:58:28 CST 2013 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI / bind: Redefine acpi_preset_companion()
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 to it. Update its users to pass struct acpi_device pointers instead of ACPI handles to it.
This allows some unnecessary acpi_bus_get_device() calls to be avoided.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Aaron Lu <aaron.lu@intel.com> Tested-by: Aaron Lu <aaron.lu@intel.com> # for ATA binding
|
/openbmc/linux/include/acpi/ |
H A D | acpi_bus.h | diff 9c5ad36d987a1b06f6b0b9dc7bc61a45d277455d Thu Nov 28 16:58:28 CST 2013 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI / bind: Redefine acpi_preset_companion()
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 to it. Update its users to pass struct acpi_device pointers instead of ACPI handles to it.
This allows some unnecessary acpi_bus_get_device() calls to be avoided.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Aaron Lu <aaron.lu@intel.com> Tested-by: Aaron Lu <aaron.lu@intel.com> # for ATA binding
|
/openbmc/linux/include/linux/ |
H A D | acpi.h | diff 9c5ad36d987a1b06f6b0b9dc7bc61a45d277455d Thu Nov 28 16:58:28 CST 2013 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI / bind: Redefine acpi_preset_companion()
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 to it. Update its users to pass struct acpi_device pointers instead of ACPI handles to it.
This allows some unnecessary acpi_bus_get_device() calls to be avoided.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Aaron Lu <aaron.lu@intel.com> Tested-by: Aaron Lu <aaron.lu@intel.com> # for ATA binding
|