summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2018-11-21 17:03:46 +0100
committerGuenter Roeck <linux@roeck-us.net>2018-12-17 00:13:21 +0100
commit737c086eddab6fae699ad7fc6963a91837b62b51 (patch)
tree5a38783478d335313e33930e260240fc2a7d2d72 /include
parenthwmon: (ntc_thermistor) sort thermistor id lists alphabetically (diff)
downloadlinux-737c086eddab6fae699ad7fc6963a91837b62b51.tar.xz
linux-737c086eddab6fae699ad7fc6963a91837b62b51.zip
hwmon: (ntc_thermistor) use a table to lookup the thermistor type
Sort the entries while at it. Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/ntc_thermistor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/platform_data/ntc_thermistor.h b/include/linux/platform_data/ntc_thermistor.h
index 231a27c302ec..ee03d429742b 100644
--- a/include/linux/platform_data/ntc_thermistor.h
+++ b/include/linux/platform_data/ntc_thermistor.h
@@ -24,12 +24,12 @@
struct iio_channel;
enum ntc_thermistor_type {
- TYPE_NCPXXWB473,
- TYPE_NCPXXWL333,
TYPE_B57330V2103,
+ TYPE_B57891S0103,
+ TYPE_NCPXXWB473,
TYPE_NCPXXWF104,
+ TYPE_NCPXXWL333,
TYPE_NCPXXXH103,
- TYPE_B57891S0103,
};
struct ntc_thermistor_platform_data {