platform/x86: dual_accel_detect: Use the new i2c_acpi_client_count() helper
authorHans de Goede <hdegoede@redhat.com>
Tue, 3 Aug 2021 16:00:42 +0000 (18:00 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 12 Aug 2021 15:26:36 +0000 (17:26 +0200)
commitf13d483eafdf60fc809e555e0329ee6257582612
treea23c281012a5576431b11a9130839963811331fd
parent20a1b3acfc802ad7b6b327f2bdc0570711538561
platform/x86: dual_accel_detect: 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-3-hdegoede@redhat.com
drivers/platform/x86/dual_accel_detect.h