Guenter Roeck 1196573fe4 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 <guenter.roeck@ericsson.com>
Cc: Dirk Eibach <eibach@gdsys.de>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
2012-04-18 11:15:50 -07:00
..
2012-04-18 11:15:50 -07:00
2012-03-18 18:27:03 -07:00
2012-03-21 10:37:25 -07:00
2012-03-18 18:26:51 -07:00
2012-03-27 20:06:02 +02:00
2012-03-18 18:27:16 -07:00
2012-03-18 18:26:52 -07:00
2012-03-18 18:26:35 -07:00
2012-03-18 18:26:42 -07:00
2012-01-05 08:19:35 -08:00
2012-03-18 18:27:24 -07:00
2012-03-18 18:27:24 -07:00
2012-03-18 18:27:25 -07:00
2012-03-18 18:27:05 -07:00
2012-03-18 18:27:06 -07:00
2012-03-23 10:02:20 +01:00
2012-03-28 13:56:35 -07:00
2012-03-23 10:02:20 +01:00
2012-03-18 18:26:36 -07:00
2012-03-18 18:27:10 -07:00
2012-03-21 10:37:25 -07:00
2012-03-27 20:06:02 +02:00