From: Anton Vorontsov Date: Thu, 15 Mar 2012 17:01:28 +0000 (+0400) Subject: charger-manager: Simplify charger_get_property(), get rid of a warning X-Git-Tag: v3.4-rc1~20^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df58c04c9f4182f979973a06ce40b44a5b84aeb5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed