Patch to rename 552 battery in kernel
This commit is contained in:
parent
7379c0649a
commit
1e180c06e0
1 changed files with 13 additions and 0 deletions
|
@ -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),
|
Loading…
Reference in a new issue