summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-09-10 11:39:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-25 15:53:58 +0100
commit52741990fa566179fa2cedce505f3e56e0a32433 (patch)
tree967bce028c03118e7e2e4c8cff4e1bf5d272339c /tools/perf/scripts/python
parent1f6a7105b15be93b5ee84039d8466fb6e7a61004 (diff)
power: supply: ab8500_fg: silence uninitialized variable warnings
[ Upstream commit 54baff8d4e5dce2cef61953b1dc22079cda1ddb1 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions