[PATCH v4 59/59] acpi: Use I2cSerialBusV2() instead of I2cSerialBus()

Simon Glass sjg at chromium.org
Tue Sep 22 20:45:44 CEST 2020


Use the correct name of the ACPI structure being created.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v4:
- Add new patch to use I2cSerialBusV2() instead of I2cSerialBus()

 include/acpi/acpi_device.h | 2 +-
 lib/acpi/acpi_device.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/acpi/acpi_device.h b/include/acpi/acpi_device.h
index 007b7e7caf1..ed4acd912a1 100644
--- a/include/acpi/acpi_device.h
+++ b/include/acpi/acpi_device.h
@@ -413,7 +413,7 @@ int acpi_device_write_dsm_i2c_hid(struct acpi_ctx *ctx,
 /**
  * acpi_device_write_i2c_dev() - Write an I2C device to ACPI
  *
- * This creates a I2cSerialBus descriptor for an I2C device, including
+ * This creates a I2cSerialBusV2 descriptor for an I2C device, including
  * information ACPI needs to use it.
  *
  * @ctx: ACPI context pointer
diff --git a/lib/acpi/acpi_device.c b/lib/acpi/acpi_device.c
index 8248664a10a..95dfac583fc 100644
--- a/lib/acpi/acpi_device.c
+++ b/lib/acpi/acpi_device.c
@@ -530,7 +530,7 @@ int acpi_device_write_dsm_i2c_hid(struct acpi_ctx *ctx,
 	return 0;
 }
 
-/* ACPI 6.3 section 6.4.3.8.2.1 - I2cSerialBus() */
+/* ACPI 6.3 section 6.4.3.8.2.1 - I2cSerialBusV2() */
 static void acpi_device_write_i2c(struct acpi_ctx *ctx,
 				  const struct acpi_i2c *i2c)
 {
-- 
2.28.0.681.g6f77f65b4e-goog



More information about the U-Boot mailing list