linux/drivers/hwmon
Jean Delvare ead82d6792 hwmon: (ntc_thermistor) Fix OF device ID mapping
The mapping from OF device IDs to platform device IDs is wrong.
TYPE_NCPXXWB473 is 0, TYPE_NCPXXWL333 is 1, so
ntc_thermistor_id[TYPE_NCPXXWB473] is { "ncp15wb473", TYPE_NCPXXWB473 }
while
ntc_thermistor_id[TYPE_NCPXXWL333] is { "ncp18wb473", TYPE_NCPXXWB473 }.

So the name is wrong for all but the "ntc,ncp15wb473" entry, and the
type is wrong for the "ntc,ncp15wl333" entry.

So map the entries by index, it is neither elegant nor robust but at
least it is correct.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Fixes: 9e8269de hwmon: (ntc_thermistor) Add DT with IIO support to NTC thermistor driver
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Cc: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Cc: Doug Anderson <dianders@chromium.org>
2014-05-25 17:23:08 +02:00
..
pmbus hwmon: (pmbus/ltc2978) Add support for LTM4676 2014-03-19 18:59:40 -07:00
ab8500.c
abituguru3.c
abituguru.c
abx500.c
abx500.h
acpi_power_meter.c
ad7314.c
ad7414.c
ad7418.c
adc128d818.c hwmon: Driver for TI ADC128D818 2014-03-03 08:01:04 -08:00
adcxx.c
adm1021.c hwmon: (adm1021) Convert to use devm_hwmon_device_register_with_groups 2014-04-04 18:01:34 +02:00
adm1025.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
adm1026.c
adm1029.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
adm1031.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
adm9240.c
ads1015.c
ads7828.c
ads7871.c
adt7x10.c
adt7x10.h
adt7310.c
adt7410.c
adt7411.c
adt7462.c
adt7470.c
adt7475.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
amc6821.c
applesmc.c
asb100.c
asc7621.c hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
asus_atk0110.c
atxp1.c hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
coretemp.c Revert "hwmon: (coretemp) Refine TjMax detection" 2014-05-01 04:07:52 -07:00
da9052-hwmon.c hwmon: (da9052) Fix adc to voltage calculation 2014-01-14 21:36:31 -08:00
da9055-hwmon.c hwmon: (da9055) Remove use of regmap_irq_get_virq() 2014-02-06 17:22:33 -08:00
dme1737.c
ds620.c
ds1621.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
emc6w201.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
emc1403.c hwmon: (emc1403) Support full range of known chip revision numbers 2014-05-12 08:37:06 -07:00
emc2103.c hwmon: (emc2103) Return error from i2c_smbus_read_byte_data 2014-03-03 08:01:04 -08:00
f71805f.c hwmon: (f71805f) Fix author's address 2014-04-04 18:01:32 +02:00
f71882fg.c
f75375s.c
fam15h_power.c hwmon: remove DEFINE_PCI_DEVICE_TABLE macro 2014-01-14 21:36:30 -08:00
fschmd.c
g760a.c
g762.c
gl518sm.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
gl520sm.c
gpio-fan.c
hih6130.c
htu21.c
hwmon-vid.c
hwmon.c hwmon: Do not accept invalid name attributes 2014-03-03 08:01:06 -08:00
i5k_amb.c
ibmaem.c
ibmpex.c
iio_hwmon.c hwmon: (iio_hwmon) Convert to use hwmon_device_register_with_groups 2014-03-03 08:01:03 -08:00
ina2xx.c
ina209.c
it87.c hwmon: (it87) Add support for IT8623E 2014-04-04 18:01:35 +02:00
jc42.c
jz4740-hwmon.c hwmon: (jz4740) Use devm_ioremap_resource() 2014-03-03 08:01:03 -08:00
k8temp.c hwmon: remove DEFINE_PCI_DEVICE_TABLE macro 2014-01-14 21:36:30 -08:00
k10temp.c hwmon: (k10temp) Add support for AMD F16 M30h processor 2014-04-02 22:09:14 -07:00
Kconfig hwmon: (ntc_thermistor) Fix dependencies 2014-05-25 17:23:08 +02:00
lineage-pem.c
lm63.c hwmon: (lm63) Avoid initializing the same field twice 2014-04-04 18:01:33 +02:00
lm70.c
lm73.c
lm75.c
lm75.h
lm77.c hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
lm78.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
lm80.c hwmon: (lm80) Convert to use devm_hwmon_device_register_with_groups 2014-04-04 18:01:34 +02:00
lm83.c hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
lm85.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
lm87.c hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
lm90.c hwmon: (lm90) Convert to use hwmon_device_register_with_groups 2014-04-04 18:01:35 +02:00
lm92.c hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
lm93.c hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
lm95234.c
lm95241.c hwmon: (lm95241) Avoid initializing the same field twice 2014-03-03 08:01:04 -08:00
lm95245.c hwmon: (lm95245) Make temp2_crit_hyst read-only 2014-03-03 08:01:06 -08:00
ltc2945.c hwmon: (ltc2945) Don't crash the kernel unnecessarily 2014-04-24 06:09:43 -07:00
ltc4151.c
ltc4215.c hwmon: (ltc4215) Convert to devm_hwmon_device_register_with_groups 2014-03-03 08:01:05 -08:00
ltc4222.c hwmon: Driver for Linear Technologies LTC4222 2014-03-03 08:01:03 -08:00
ltc4245.c hwmon: (ltc4245) Remove devicetree conditionals 2014-03-03 08:01:05 -08:00
ltc4260.c hwmon: Driver for Linear Technologies LTC4260 2014-03-03 08:01:03 -08:00
ltc4261.c
Makefile Revert "powerpc/powernv: hwmon driver for power values, fan rpm and temperature" 2014-04-09 12:56:37 +10:00
max197.c
max1111.c
max1619.c hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
max1668.c hwmon: (max1668) Convert to use devm_hwmon_device_register_with_groups 2014-03-03 08:01:04 -08:00
max6639.c hwmon: (max6639) Use SIMPLE_DEV_PM_OPS macro 2014-03-03 08:01:06 -08:00
max6642.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
max6650.c hwmon: (max6650) Introduce local 'dev' variable 2014-03-03 08:01:06 -08:00
max6697.c
max16065.c
mc13783-adc.c
mcp3021.c
nct6775.c Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging 2014-01-29 18:56:27 -08:00
ntc_thermistor.c hwmon: (ntc_thermistor) Fix OF device ID mapping 2014-05-25 17:23:08 +02:00
pc87360.c hwmon: (pc87360) Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
pc87427.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
pcf8591.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
s3c-hwmon.c
sch56xx-common.c
sch56xx-common.h
sch5627.c
sch5636.c
sht15.c
sht21.c
sis5595.c Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging 2014-01-29 18:56:27 -08:00
smm665.c hwmon: (smm665): Return error from i2c_smbus_read_word_swapped 2014-03-03 08:01:03 -08:00
smsc47b397.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
smsc47m1.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
smsc47m192.c
thmc50.c
tmp102.c
tmp401.c
tmp421.c
twl4030-madc-hwmon.c
ultra45_env.c
vexpress.c hwmon: (vexpress) Avoid creating non-existing attributes 2014-04-24 06:02:10 -07:00
via686a.c hwmon: remove DEFINE_PCI_DEVICE_TABLE macro 2014-01-14 21:36:30 -08:00
via-cputemp.c hwmon, via-cputemp: Fix CPU hotplug callback registration 2014-03-20 13:43:48 +01:00
vt1211.c
vt8231.c hwmon: remove DEFINE_PCI_DEVICE_TABLE macro 2014-01-14 21:36:30 -08:00
w83l785ts.c hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
w83l786ng.c
w83627ehf.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
w83627hf.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
w83781d.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
w83791d.c
w83792d.c hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
w83793.c
w83795.c Update Jean Delvare's e-mail address 2014-01-29 20:40:08 +01:00
wm831x-hwmon.c
wm8350-hwmon.c