platform/x86: x86-android-tablets: Drop "linux,power-supply-name" from lenovo_yt3_bq2...
authorHans de Goede <hdegoede@redhat.com>
Sat, 9 Sep 2023 14:18:16 +0000 (16:18 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 11 Sep 2023 11:28:59 +0000 (13:28 +0200)
The "linux,power-supply-name" property is a left-over from an earlier
attempt to allow properties to specify the power_supply class-device name.

The patch to read this property never made it upstream (and is no longer
necessary). Drop the unused property.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230909141816.58358-9-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets/lenovo.c

index 35aa2968d7264165b497fee5d0e71d55e475bee4..5c803cdb5586ae4db938b12ae48395f97720cc78 100644 (file)
@@ -565,7 +565,6 @@ static const struct software_node fg_bq25890_1_supply_node = {
 /* bq25892 charger settings for the flat lipo battery behind the screen */
 static const struct property_entry lenovo_yt3_bq25892_0_props[] = {
        PROPERTY_ENTRY_STRING_ARRAY("supplied-from", lenovo_yt3_bq25892_0_suppliers),
-       PROPERTY_ENTRY_STRING("linux,power-supply-name", "bq25892-second-chrg"),
        PROPERTY_ENTRY_U32("linux,iinlim-percentage", 40),
        PROPERTY_ENTRY_BOOL("linux,skip-reset"),
        /* Values taken from Android Factory Image */