diff options
author | Hans de Goede <[email protected]> | 2021-08-03 18:00:41 +0200 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2021-08-12 17:26:24 +0200 |
commit | 20a1b3acfc802ad7b6b327f2bdc0570711538561 (patch) | |
tree | a94f8a0ceaee67e54cbb134f01fef1f79ec89d3f /net/lapb/lapb_out.c | |
parent | 382b91db8044669d254006df799df9d85d4ad891 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Mika Westerberg <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions