diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-08-03 19:00:41 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-08-12 18:26:24 +0300 |
commit | 20a1b3acfc802ad7b6b327f2bdc0570711538561 (patch) | |
tree | a94f8a0ceaee67e54cbb134f01fef1f79ec89d3f /README | |
parent | 382b91db8044669d254006df799df9d85d4ad891 (diff) | |
download | linux-20a1b3acfc802ad7b6b327f2bdc0570711538561.tar.xz |
i2c: acpi: Add an i2c_acpi_client_count() helper function
We have 3 files now which have the need to count the number of
I2cSerialBus resources in an ACPI-device's resource-list.
Currently all implement their own helper function for this,
add a generic helper function to replace the 3 implementations.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210803160044.158802-2-hdegoede@redhat.com
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions