On Tue, Aug 03, 2021 at 06:00:41PM +0200, Hans de Goede wrote: > 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@xxxxxxxxxx> Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>