aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-04-14 16:14:08 +0200
committerJean Delvare <khali@linux-fr.org>2010-04-14 16:14:08 +0200
commitc7a78d2c2e2537fd24903e966f34aae50319d587 (patch)
treeb53c5677e1528b8e5659c92a94f1e4fb0fca8923 /Makefile
parenthwmon: (sht15) Fix sht15_calc_temp interpolation function (diff)
downloadlinux-dev-c7a78d2c2e2537fd24903e966f34aae50319d587.tar.xz
linux-dev-c7a78d2c2e2537fd24903e966f34aae50319d587.zip
hwmon: (sht15) Properly handle the case CONFIG_REGULATOR=n
When CONFIG_REGULATOR isn't set, regulator_get_voltage() returns 0. Properly handle this case by not trusting the value. Reported-by: Jerome Oufella <jerome.oufella@savoirfairelinux.com> Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions