diff options
author | 2015-05-29 17:44:05 +0530 | |
---|---|---|
committer | 2015-06-25 01:13:40 +0200 | |
commit | d200c79b1ad1fa76feb5e0991d11f3edfe9960de (patch) | |
tree | c2aa29276368e6fa285cb90fbf188095a8900311 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rtc: simplify use of devm_ioremap_resource (diff) | |
download | linux-dev-d200c79b1ad1fa76feb5e0991d11f3edfe9960de.tar.xz linux-dev-d200c79b1ad1fa76feb5e0991d11f3edfe9960de.zip |
rtc: palmas: Initialise bb_charging flag before using it
Initialise the variable high_bb_charging before using it to avoid
configuring wrong value and fix following compilation warning:
/*
rtc-palmas.c: In function ‘palmas_rtc_probe’:
rtc-palmas.c:242:7: warning: ‘high_bb_charging’ may be used
uninitialized in this function
*/
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions