mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Merge branches 'acpi-bus', 'acpi-sleep' and 'acpi-processor'
* acpi-bus: spi: acpi: Initialize modalias from of_compatible i2c: acpi: Initialize info.type from of_compatible ACPI / bus: Introduce acpi_of_modalias() equiv of of_modalias_node() * acpi-sleep: ACPI: save NVS memory for Lenovo G50-45 * acpi-processor: x86/ACPI: keep x86_cpu_to_acpiid mapping valid on CPU hotplug
This commit is contained in:
commit
a74d1cafc2
9 changed files with 77 additions and 8 deletions
|
|
@ -221,7 +221,8 @@ static int i2c_acpi_get_info(struct acpi_device *adev,
|
|||
|
||||
acpi_dev_free_resource_list(&resource_list);
|
||||
|
||||
strlcpy(info->type, dev_name(&adev->dev), sizeof(info->type));
|
||||
acpi_set_modalias(adev, dev_name(&adev->dev), info->type,
|
||||
sizeof(info->type));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue