summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm75.c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2011-10-13 04:43:31 -0400
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-10-24 11:09:45 -0700
commite96f9d89e6213c7630a3323cd0c754e7f2619564 (patch)
tree29c4f0055ae232c6df8d2206ece55a973ed857d1 /drivers/hwmon/lm75.c
parent1af1f5313cfea85a185c7bbb5258f7856fc8fea7 (diff)
downloadop-kernel-dev-e96f9d89e6213c7630a3323cd0c754e7f2619564.zip
op-kernel-dev-e96f9d89e6213c7630a3323cd0c754e7f2619564.tar.gz
hwmon: (lm75) Add support for Analog Devices ADT75
Add datasheet reference and device ID for ADT75. The ADT75, like some other LM75 derivatives, needs to be instantiated using methods 1, 2, or 4. For more information see Documentation/i2c/instantiating-devices. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/lm75.c')
-rw-r--r--drivers/hwmon/lm75.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c
index ef902d5..669481b 100644
--- a/drivers/hwmon/lm75.c
+++ b/drivers/hwmon/lm75.c
@@ -35,6 +35,7 @@
*/
enum lm75_type { /* keep sorted in alphabetical order */
+ adt75,
ds1775,
ds75,
lm75,
@@ -213,6 +214,7 @@ static int lm75_remove(struct i2c_client *client)
}
static const struct i2c_device_id lm75_ids[] = {
+ { "adt75", adt75, },
{ "ds1775", ds1775, },
{ "ds75", ds75, },
{ "lm75", lm75, },
OpenPOWER on IntegriCloud