diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-09-10 10:39:04 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2018-09-16 11:40:46 +0200 |
commit | 54baff8d4e5dce2cef61953b1dc22079cda1ddb1 (patch) | |
tree | 3880f7657954d7637d4ec6faf4a7daa46c31b371 /drivers/power/reset/rmobile-reset.c | |
parent | power: supply: sysfs: ratelimit property read error message (diff) | |
download | linux-54baff8d4e5dce2cef61953b1dc22079cda1ddb1.tar.xz linux-54baff8d4e5dce2cef61953b1dc22079cda1ddb1.zip |
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/rmobile-reset.c')
0 files changed, 0 insertions, 0 deletions