summaryrefslogtreecommitdiff
path: root/drivers/power/reset
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-09-10 11:39:04 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2018-09-16 12:40:46 +0300
commit54baff8d4e5dce2cef61953b1dc22079cda1ddb1 (patch)
tree3880f7657954d7637d4ec6faf4a7daa46c31b371 /drivers/power/reset
parent87a2b65fc855e6be50f791c2ebbb492541896827 (diff)
downloadlinux-54baff8d4e5dce2cef61953b1dc22079cda1ddb1.tar.xz
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>
Diffstat (limited to 'drivers/power/reset')
0 files changed, 0 insertions, 0 deletions