From e1e7805585a979f74ba86a407ca8246a51c47a97 Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum@suse.com>
Date: Tue, 5 Apr 2022 11:40:39 +0200
Subject: [PATCH] apple-mfi-fastcharge: correct type
This is a charger, not a battery.
Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
drivers/usb/misc/apple-mfi-fastcharge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -157,7 +157,7 @@ static enum power_supply_property apple_mfi_fc_properties[] = {
static const struct power_supply_desc apple_mfi_fc_desc = {
.name = "apple_mfi_fastcharge",
- .type = POWER_SUPPLY_TYPE_BATTERY,
+ .type = POWER_SUPPLY_TYPE_USB,
.properties = apple_mfi_fc_properties,
.num_properties = ARRAY_SIZE(apple_mfi_fc_properties),
.get_property = apple_mfi_fc_get_property,
--
2.34.1