summaryrefslogtreecommitdiff
path: root/drivers/zorro
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-04-14 16:14:08 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-26 07:41:26 -0700
commit03c537ee0e487507cb9fa4e59a8cd8ea307c23dc (patch)
treec037e44bdddbe84ec46d4d1234c3a5d53905059e /drivers/zorro
parent7fc829f5018cc20e12d25811d15a2d171225a7da (diff)
hwmon: (sht15) Properly handle the case CONFIG_REGULATOR=n
commit c7a78d2c2e2537fd24903e966f34aae50319d587 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions