platform/x86: i2c-multi-instantiate: Use the new i2c_acpi_client_count() helper
authorHans de Goede <hdegoede@redhat.com>
Tue, 3 Aug 2021 16:00:43 +0000 (18:00 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 12 Aug 2021 15:26:36 +0000 (17:26 +0200)
commit5791c2648dc468c00de405b2af32c5189d5cb345
treeb0efee2d0dd7f74dbeeac0ad0fa5e47f5c4af7f8
parentf13d483eafdf60fc809e555e0329ee6257582612
platform/x86: i2c-multi-instantiate: Use the new i2c_acpi_client_count() helper

Use the new i2c_acpi_client_count() helper, this
results in a nice cleanup.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210803160044.158802-4-hdegoede@redhat.com
drivers/platform/x86/i2c-multi-instantiate.c