commit | d200c79b1ad1fa76feb5e0991d11f3edfe9960de | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Fri May 29 17:44:05 2015 +0530 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Thu Jun 25 01:13:40 2015 +0200 |
tree | c2aa29276368e6fa285cb90fbf188095a8900311 | |
parent | e044253b3b4fb5a8b275202511a4d9765ac0a982 [diff] |
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>