[PATCH] mfd: ab8500-sysctrl: Drop ancient charger

Linus Walleij posted 1 patch 2 years ago
drivers/mfd/ab8500-sysctrl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mfd: ab8500-sysctrl: Drop ancient charger
Posted by Linus Walleij 2 years ago
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>
---
 drivers/mfd/ab8500-sysctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c
index eeeb62415f53..7ac8248b790a 100644
--- a/drivers/mfd/ab8500-sysctrl.c
+++ b/drivers/mfd/ab8500-sysctrl.c
@@ -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;

---
base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86
change-id: 20231214-ab8500-sysctrl-oneliner-ebd0911464fb

Best regards,
-- 
Linus Walleij <linus.walleij@linaro.org>
Re: (subset) [PATCH] mfd: ab8500-sysctrl: Drop ancient charger
Posted by Lee Jones 2 years ago
On Thu, 14 Dec 2023 19:26:31 +0100, Linus Walleij wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] mfd: ab8500-sysctrl: Drop ancient charger
      commit: 9aab3f5b572eca8f4f2c3ffbbf4aeecf7d5cadb9

--
Lee Jones [李琼斯]