commit | 2eb1eb02dda368fb224bf5a379d2448c742b71db | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Mar 13 01:45:49 2015 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Mar 16 15:19:07 2015 +0100 |
tree | b0833f765d39fbea7265d11f93acf4fc9e237b02 | |
parent | 06e5801b8cb3fc057d88cb4dc03c0b64b2744cda [diff] |
PNP / ACPI: Use ACPI_COMPANION_SET() during initialization pnpacpi_add_device() calls acpi_bind_one() on an already registered device, which is a mistake, but it can initialize the ACPI companion field of the struct device to be registered using ACPI_COMPANION_SET() instead, so make it do that. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>