commit | df58c04c9f4182f979973a06ce40b44a5b84aeb5 | [log] [tgz] |
---|---|---|
author | Anton Vorontsov <anton.vorontsov@linaro.org> | Thu Mar 15 21:01:28 2012 +0400 |
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | Mon Mar 26 20:41:20 2012 +0400 |
tree | 8957ee174e8ea20ce0ef09567904c269a18dd602 | |
parent | bb2a95c2d2450be1ac942adf6815375f620b7015 [diff] |
charger-manager: Simplify charger_get_property(), get rid of a warning This patch fixes the following warning and makes the code a little bit more simpler: CC drivers/power/charger-manager.o charger-manager.c: In function 'charger_get_property': charger-manager.c:429:15: warning: 'i' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>