Searched hist:ca5b74d2 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/acpi/ |
H A D | glue.c | ca5b74d2 Mon Mar 16 17:49:08 CDT 2015 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI: Introduce has_acpi_companion()
Now that the ACPI companions of devices are represented by pointers to struct fwnode_handle, it is not quite efficient to check whether or not an ACPI companion of a device is present by evaluating the ACPI_COMPANION() macro.
For this reason, introduce a special static inline routine for that, has_acpi_companion(), and update the code to use it where applicable.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> ca5b74d2 Mon Mar 16 17:49:08 CDT 2015 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI: Introduce has_acpi_companion() Now that the ACPI companions of devices are represented by pointers to struct fwnode_handle, it is not quite efficient to check whether or not an ACPI companion of a device is present by evaluating the ACPI_COMPANION() macro. For this reason, introduce a special static inline routine for that, has_acpi_companion(), and update the code to use it where applicable. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-designware-platdrv.c | ca5b74d2 Mon Mar 16 17:49:08 CDT 2015 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI: Introduce has_acpi_companion()
Now that the ACPI companions of devices are represented by pointers to struct fwnode_handle, it is not quite efficient to check whether or not an ACPI companion of a device is present by evaluating the ACPI_COMPANION() macro.
For this reason, introduce a special static inline routine for that, has_acpi_companion(), and update the code to use it where applicable.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> ca5b74d2 Mon Mar 16 17:49:08 CDT 2015 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI: Introduce has_acpi_companion() Now that the ACPI companions of devices are represented by pointers to struct fwnode_handle, it is not quite efficient to check whether or not an ACPI companion of a device is present by evaluating the ACPI_COMPANION() macro. For this reason, introduce a special static inline routine for that, has_acpi_companion(), and update the code to use it where applicable. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
/openbmc/linux/include/linux/ |
H A D | acpi.h | ca5b74d2 Mon Mar 16 17:49:08 CDT 2015 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI: Introduce has_acpi_companion()
Now that the ACPI companions of devices are represented by pointers to struct fwnode_handle, it is not quite efficient to check whether or not an ACPI companion of a device is present by evaluating the ACPI_COMPANION() macro.
For this reason, introduce a special static inline routine for that, has_acpi_companion(), and update the code to use it where applicable.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> ca5b74d2 Mon Mar 16 17:49:08 CDT 2015 Rafael J. Wysocki <rafael.j.wysocki@intel.com> ACPI: Introduce has_acpi_companion() Now that the ACPI companions of devices are represented by pointers to struct fwnode_handle, it is not quite efficient to check whether or not an ACPI companion of a device is present by evaluating the ACPI_COMPANION() macro. For this reason, introduce a special static inline routine for that, has_acpi_companion(), and update the code to use it where applicable. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|