]> git.itanic.dy.fi Git - linux-stable/commitdiff
mfd: ab8500-sysctrl: Drop ancient charger
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 14 Dec 2023 18:26:31 +0000 (19:26 +0100)
committerLee Jones <lee@kernel.org>
Wed, 10 Jan 2024 11:25:56 +0000 (11:25 +0000)
The sysctrl driver was looking for an instance of the PM2301
charger but this has been deleted from the kernel and is not
used with the U8500 systems any more. Drop the string.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231214-ab8500-sysctrl-oneliner-v1-1-fd78a15c0b2f@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/ab8500-sysctrl.c

index ce81fcb785d0322bcfc5d903e346e482a0bbb6cd..8f3ebe651eeaaf7080d06079d159dc8f3eb444ac 100644 (file)
@@ -30,7 +30,7 @@ static void ab8500_power_off(void)
 {
        sigset_t old;
        sigset_t all;
-       static const char * const pss[] = {"ab8500_ac", "pm2301", "ab8500_usb"};
+       static const char * const pss[] = {"ab8500_ac", "ab8500_usb"};
        int i;
        bool charger_present = false;
        union power_supply_propval val;