commit | 54baff8d4e5dce2cef61953b1dc22079cda1ddb1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Sep 10 11:39:04 2018 +0300 |
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | Sun Sep 16 11:40:46 2018 +0200 |
tree | 3880f7657954d7637d4ec6faf4a7daa46c31b371 | |
parent | 87a2b65fc855e6be50f791c2ebbb492541896827 [diff] |
power: supply: ab8500_fg: silence uninitialized variable warnings 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>