summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpi_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpi_i2c.c')
-rw-r--r--drivers/acpi/acpi_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_i2c.c b/drivers/acpi/acpi_i2c.c
index 82045e3f5cac..a82c7626aa9b 100644
--- a/drivers/acpi/acpi_i2c.c
+++ b/drivers/acpi/acpi_i2c.c
@@ -90,7 +90,7 @@ void acpi_i2c_register_devices(struct i2c_adapter *adapter)
acpi_handle handle;
acpi_status status;
- handle = ACPI_HANDLE(&adapter->dev);
+ handle = ACPI_HANDLE(adapter->dev.parent);
if (!handle)
return;