platform/x86: x86-android-tablets: Lenovo Yoga Book match is for YB1-X91 models only
authorHans de Goede <hdegoede@redhat.com>
Tue, 28 Feb 2023 08:35:03 +0000 (09:35 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 7 Mar 2023 11:08:31 +0000 (12:08 +0100)
commit5f250f8a77c4d30da52ee4184b770e327fbe76e2
treebf48babc3b3019713d70a5405bdefd4e5b09c128
parentdadbc368f4f26f59debe49e1cdf44883e8799fd2
platform/x86: x86-android-tablets: Lenovo Yoga Book match is for YB1-X91 models only

When support for instantiating an i2c-client for the fuel-gauge was
added for the Windows based Yoga Book YB1-X91F/L models, the assumption
was made that this would apply to the Android based YB1-X90F/L models too.

But these have a completely different BIOS with completely different DMI
strings. Update the existing YB1-X91 support to reflect that it only
applies to the YB1-X91F/L models.

Cc: Yauhen Kharuzhy <jekhor@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230301092331.7038-15-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets/dmi.c
drivers/platform/x86/x86-android-tablets/lenovo.c
drivers/platform/x86/x86-android-tablets/x86-android-tablets.h