+12
−19
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
If kstrtoul() fails then we print "charge_full" when it's uninitialized. The debug printk doesn't add anything so I deleted it and cleaned these two functions up a bit. Signed-off-by:Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>