diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-11-28 12:45:30 +0100 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-12-03 20:40:02 +0100 |
commit | a729656697e306595f5349b9176cebea459d7519 (patch) | |
tree | 59b67899da071eabb29850c10e85902fb18e8089 /drivers/tty | |
parent | i2c: acpi: Introduce i2c_acpi_get_i2c_resource() helper (diff) | |
download | linux-a729656697e306595f5349b9176cebea459d7519.tar.xz linux-a729656697e306595f5349b9176cebea459d7519.zip |
platform/x86: i2c-multi-instantiate: Count I2cSerialBus() resources
Instead of relying on hard coded and thus expected number of I2C clients,
count the real amount provided by firmware.
This allows to support non-fixed amount of the slaves.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions