aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/tmp401
diff options
context:
space:
mode:
authorChris Lesiak <chris.lesiak@licor.com>2015-05-26 15:40:44 -0500
committerGuenter Roeck <linux@roeck-us.net>2015-05-26 17:22:49 -0700
commitadba657533bdd255f7b78bc8a324091f46b294cd (patch)
tree523aa28acd02d21e19e3860c5ad943585d075b82 /Documentation/hwmon/tmp401
parentLinux 4.1-rc5 (diff)
downloadlinux-dev-adba657533bdd255f7b78bc8a324091f46b294cd.tar.xz
linux-dev-adba657533bdd255f7b78bc8a324091f46b294cd.zip
hwmon: (ntc_thermistor) Ensure iio channel is of type IIO_VOLTAGE
When configured via device tree, the associated iio device needs to be measuring voltage for the conversion to resistance to be correct. Return -EINVAL if that is not the case. Signed-off-by: Chris Lesiak <chris.lesiak@licor.com> Cc: stable@vger.kernel.org # 3.10+ Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/tmp401')
0 files changed, 0 insertions, 0 deletions