i2c: xlp9xx: ACPI support for I2C clients
authorTanmay Jagdale <tanmay.jagdale@broadcom.com>
Thu, 15 Sep 2016 19:27:39 +0000 (00:57 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 18 Nov 2016 01:25:38 +0000 (02:25 +0100)
commit254df038e5ca275be437d5fa562d7f59beab6ef5
tree25969dc33f5e936b577b01b4bd6a7e2e3ae0f5ea
parentb92b7dbc714f3e604102ad0f056124fd5f8c00ce
i2c: xlp9xx: ACPI support for I2C clients

The ACPI companion of the adapter has to be set for I2C controller
code to read and attach the slave devices described in the ACPI table
with the I2CSerialBus resource descriptor. Used ACPI_COMPANION_SET
macro to set this.

Signed-off-by: Tanmay Jagdale <tanmay.jagdale@broadcom.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xlp9xx.c