diff options
author | Peter Rosin <peda@axentia.se> | 2018-11-21 19:03:46 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-12-17 02:13:21 +0300 |
commit | 737c086eddab6fae699ad7fc6963a91837b62b51 (patch) | |
tree | 5a38783478d335313e33930e260240fc2a7d2d72 /include/linux/platform_data | |
parent | e056fe25d9f021d45c3fb6068d11e56e9579754b (diff) | |
download | linux-737c086eddab6fae699ad7fc6963a91837b62b51.tar.xz |
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/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/ntc_thermistor.h | 6 |
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 { |