hwmon: (tmp421) Strengthen detect function
authorGuenter Roeck <linux@roeck-us.net>
Tue, 22 Apr 2014 23:13:17 +0000 (16:13 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:37 +0000 (07:01 -0700)
Not all supported chips support the entire I2C address range.
Only accept specific chips at the addresses supported by that chip.
Check for invalid values in conversion rate and status registers.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Documentation/hwmon/tmp421
drivers/hwmon/tmp421.c

Simple merge
Simple merge