rename acpi_bus_get_acpi_device to acpi_get_acpi_dev

Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
This commit is contained in:
Justin M. Forbes 2022-10-06 15:37:46 -05:00
parent 4611dd0f95
commit f0033fe270
No known key found for this signature in database
GPG Key ID: B8FA7924A4B1C140

View File

@ -429,7 +429,7 @@ index 4db5bb587599..de258f416e80 100644
+ * Don't do the producer/consumer check for that device.
+ */
+ if (IS_ENABLED(CONFIG_ARM64)) {
+ struct acpi_device *adev = acpi_bus_get_acpi_device(handle);
+ struct acpi_device *adev = acpi_get_acpi_dev(handle);
+
+ if (adev && !strcmp(acpi_device_hid(adev), "APMC0D08"))
+ ctx.skip_producer_check = true;