platform/x86: x86-android-tablets: Share lp855x_platform_data between different models
authorHans de Goede <hdegoede@redhat.com>
Sat, 1 Apr 2023 15:07:36 +0000 (17:07 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 6 Apr 2023 10:59:38 +0000 (12:59 +0200)
commitec5a4565fd6e15ccbe5710a326a2f283c0507389
tree82a287434eeffffd47c31d52720ce4d620a1f300
parent01862d01cb36ad36233939c07d6438a2f83dcd46
platform/x86: x86-android-tablets: Share lp855x_platform_data between different models

Various Lenovo models use a TI LP8557 LED backlight controller and
the necessary platform_data is the same for the different models.

Currently there are 2 identical copies and the upcoming support for
the Lenovo Yoga Book X90F/L would add a 3th identical copy.

Move to sharing the lp855x_platform_data between different models
to avoid this duplication.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230401150737.597417-2-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets/lenovo.c