Re: [PATCH 12/15] i2c: core: Add new i2c_acpi_new_device helper function

2017-03-22 Thread Hans de Goede
Hi, On 17-03-17 18:37, Andy Shevchenko wrote: On Fri, 2017-03-17 at 10:55 +0100, Hans de Goede wrote: By default the i2c subsys creates an i2c-client for the first I2cSerialBus resource of an acpi_device, but some acpi_devices have multiple I2cSerialBus resources and the driver may need access

Re: [PATCH 12/15] i2c: core: Add new i2c_acpi_new_device helper function

2017-03-17 Thread Andy Shevchenko
On Fri, 2017-03-17 at 10:55 +0100, Hans de Goede wrote: > By default the i2c subsys creates an i2c-client for the first > I2cSerialBus > resource of an acpi_device, but some acpi_devices have multiple > I2cSerialBus resources and the driver may need access to the others. > > This commit adds a new

[PATCH 12/15] i2c: core: Add new i2c_acpi_new_device helper function

2017-03-17 Thread Hans de Goede
By default the i2c subsys creates an i2c-client for the first I2cSerialBus resource of an acpi_device, but some acpi_devices have multiple I2cSerialBus resources and the driver may need access to the others. This commit adds a new i2c_acpi_new_device function which can be used by drivers to create