diff options
| author | Chris Lesiak <[email protected]> | 2015-05-26 20:40:44 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2015-05-27 00:22:49 +0000 |
| commit | adba657533bdd255f7b78bc8a324091f46b294cd (patch) | |
| tree | 523aa28acd02d21e19e3860c5ad943585d075b82 /net/unix/af_unix.c | |
| parent | Linux 4.1-rc5 (diff) | |
| download | kernel-adba657533bdd255f7b78bc8a324091f46b294cd.tar.gz kernel-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 <[email protected]>
Cc: [email protected] # 3.10+
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
