From: Guenter Roeck Date: Mon, 9 Apr 2012 17:53:00 +0000 (-0400) Subject: hwmon: (ads1015) Fix build warning X-Git-Tag: v3.4-rc4~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1196573fe493aeeb826468157313ee84ffbc59f3;p=pandora-kernel.git hwmon: (ads1015) Fix build warning The following build warning is seen in some configurations. drivers/hwmon/ads1015.c: In function 'show_in': drivers/hwmon/ads1015.c:129: warning: 'in' may be used uninitialized in this function Fix by separating the register read function from the code converting the result into mV. Signed-off-by: Guenter Roeck Cc: Dirk Eibach Reviewed-by: Robert Coulson --- Reading git-diff-tree failed