Skip to content
Snippets Groups Projects
Commit adba6575 authored by Chris Lesiak's avatar Chris Lesiak Committed by Guenter Roeck
Browse files

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: default avatarChris Lesiak <chris.lesiak@licor.com>
Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent ba155e2d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment