mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-12 00:43:36 -04:00
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>
This commit is contained in:
parent
e056fe25d9
commit
737c086edd
2 changed files with 25 additions and 30 deletions
|
@ -24,12 +24,12 @@
|
|||
struct iio_channel;
|
||||
|
||||
enum ntc_thermistor_type {
|
||||
TYPE_NCPXXWB473,
|
||||
TYPE_NCPXXWL333,
|
||||
TYPE_B57330V2103,
|
||||
TYPE_NCPXXWF104,
|
||||
TYPE_NCPXXXH103,
|
||||
TYPE_B57891S0103,
|
||||
TYPE_NCPXXWB473,
|
||||
TYPE_NCPXXWF104,
|
||||
TYPE_NCPXXWL333,
|
||||
TYPE_NCPXXXH103,
|
||||
};
|
||||
|
||||
struct ntc_thermistor_platform_data {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue