Patch to rename 552 battery in kernel

This commit is contained in:
brooksytech 2022-09-03 21:52:15 -07:00
parent 7379c0649a
commit 1e180c06e0
No known key found for this signature in database
GPG key ID: 45B78D3C7B40B188

View file

@ -0,0 +1,13 @@
diff --git a/drivers/power/supply/cw2015_battery.c b/drivers/power/supply/cw2015_battery.c
index 0146f1bfc29b..e742efd67f74 100644
--- a/drivers/power/supply/cw2015_battery.c
+++ b/drivers/power/supply/cw2015_battery.c
@@ -546,7 +546,7 @@ static enum power_supply_property cw_battery_properties[] = {
};
static const struct power_supply_desc cw2015_bat_desc = {
- .name = "cw2015-battery",
+ .name = "battery",
.type = POWER_SUPPLY_TYPE_BATTERY,
.properties = cw_battery_properties,
.num_properties = ARRAY_SIZE(cw_battery_properties),