mirror of
https://github.com/armbian/build.git
synced 2025-09-01 03:41:08 +02:00
22 lines
878 B
Diff
22 lines
878 B
Diff
diff -rupbN linux.orig/drivers/power/supply/qcom_battmgr.c linux/drivers/power/supply/qcom_battmgr.c
|
|
--- linux.orig/drivers/power/supply/qcom_battmgr.c 2025-02-26 22:12:21.401682314 +1100
|
|
+++ linux/drivers/power/supply/qcom_battmgr.c 2025-02-26 22:13:44.143270607 +1100
|
|
@@ -638,7 +638,7 @@ static const enum power_supply_property
|
|
};
|
|
|
|
static const struct power_supply_desc sc8280xp_bat_psy_desc = {
|
|
- .name = "qcom-battmgr-bat",
|
|
+ .name = "battery",
|
|
.type = POWER_SUPPLY_TYPE_BATTERY,
|
|
.properties = sc8280xp_bat_props,
|
|
.num_properties = ARRAY_SIZE(sc8280xp_bat_props),
|
|
@@ -668,7 +668,7 @@ static const enum power_supply_property
|
|
};
|
|
|
|
static const struct power_supply_desc sm8350_bat_psy_desc = {
|
|
- .name = "qcom-battmgr-bat",
|
|
+ .name = "battery",
|
|
.type = POWER_SUPPLY_TYPE_BATTERY,
|
|
.properties = sm8350_bat_props,
|
|
.num_properties = ARRAY_SIZE(sm8350_bat_props),
|