diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-04-09 19:53:00 +0200 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-04-18 20:15:50 +0200 |
commit | 1196573fe493aeeb826468157313ee84ffbc59f3 (patch) | |
tree | ef8edd1050f0c66f5d5e0f7a859506a652f29c3a /fs/notify | |
parent | hwmon: fam15h_power: fix bogus values with current BIOSes (diff) | |
download | linux-1196573fe493aeeb826468157313ee84ffbc59f3.tar.xz linux-1196573fe493aeeb826468157313ee84ffbc59f3.zip |
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>
Diffstat (limited to 'fs/notify')
0 files changed, 0 insertions, 0 deletions