Rafael J. Wysocki
9c5ad36d98
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
2013-12-07 01:05:49 +01:00
..
2013-07-02 19:54:16 -07:00
2013-10-15 08:47:00 -04:00
2013-11-13 15:18:22 +09:00
2013-11-13 15:18:22 +09:00
2013-10-15 08:47:00 -04:00
2012-07-25 15:12:11 -04:00
2013-10-13 16:17:48 -04:00
2013-07-26 08:57:56 -04:00
2013-11-13 15:18:22 +09:00
2013-12-07 01:05:49 +01:00
2013-10-28 07:10:03 -04:00
2013-11-15 09:32:21 +09:00
2013-08-19 09:38:21 -04:00
2013-10-17 15:38:53 +02:00
2013-05-14 11:13:04 -07:00
2013-10-27 07:43:25 -04:00
2010-10-21 20:21:03 -04:00
2013-08-23 12:09:23 -04:00
2013-10-17 15:38:53 +02:00
2013-07-24 12:29:08 -04:00
2013-12-07 01:03:14 +01:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-11-14 11:04:38 -08:00
2013-06-02 22:22:03 -07:00
2013-07-30 08:59:24 -04:00
2013-07-30 08:59:24 -04:00
2012-08-17 13:26:51 -04:00
2013-06-02 22:22:03 -07:00
2013-05-24 10:26:13 +09:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-11-28 12:38:41 -05:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-05-12 15:19:46 +02:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-01-03 15:57:03 -08:00
2013-07-29 12:13:08 -04:00
2013-10-07 15:17:32 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-10-31 14:49:07 +00:00
2012-07-25 15:12:11 -04:00
2013-04-03 19:53:10 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-05-24 10:26:13 +09:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-10-31 14:48:49 +00:00
2013-01-03 15:57:03 -08:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-01-03 15:57:03 -08:00
2013-03-15 12:26:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-07-30 08:59:24 -04:00
2013-07-30 08:59:24 -04:00
2012-07-25 15:12:11 -04:00
2013-01-03 15:57:03 -08:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-08-09 10:12:23 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-01-03 15:57:03 -08:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-05-14 11:13:04 -07:00
2013-11-11 09:10:50 -06:00
2013-10-09 20:04:04 -05:00
2013-10-27 08:11:54 -04:00
2013-07-22 17:11:14 -04:00
2013-07-30 09:03:01 -04:00
2013-06-02 22:22:03 -07:00
2013-09-25 13:27:42 -07:00
2008-01-23 05:24:15 -05:00
2012-07-25 15:12:11 -04:00
2013-10-29 14:40:44 -04:00
2013-06-02 22:22:03 -07:00
2013-07-02 19:54:16 -07:00
2012-07-25 15:12:11 -04:00
2013-04-09 14:13:28 -04:00
2013-05-14 11:13:04 -07:00
2012-07-25 15:12:11 -04:00
2013-05-14 11:13:04 -07:00
2013-01-03 15:57:03 -08:00
2007-07-02 10:17:42 -04:00