Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85b086cf authored by Harry Yang's avatar Harry Yang
Browse files

power: battery: restore attribute name 'parallel_pct'



After converting to use ATTRIBUTE_GROUPS macro, attribute
'parallel_pct' is renamed to 'slave_pct'. Consequently,
Thermal Balancer in userspace quits and stops working.

Change it back.

Change-Id: I3199754b68e469bbd5c0951e8dd080b732349b86
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
parent 1932e8b0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -218,7 +218,8 @@ static ssize_t slave_pct_store(struct class *c, struct class_attribute *attr,

	return count;
}
static CLASS_ATTR_RW(slave_pct);
static struct class_attribute class_attr_slave_pct =
		__ATTR(parallel_pct, 0644, slave_pct_show, slave_pct_store);

/************************
 * RESTRICTED CHARGIGNG *