summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adt7410.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-02-15 17:57:14 +0100
committerGuenter Roeck <linux@roeck-us.net>2013-02-20 02:34:16 +0100
commite46e5dc2b2f364b5192a5878267239b8c8979ba2 (patch)
tree5a2471bdcb58884f5800ed86ac117d64147ab339 /drivers/hwmon/adt7410.c
parenthwmon: (adt7410) Use I2C_ADDRS helper macro (diff)
downloadlinux-e46e5dc2b2f364b5192a5878267239b8c8979ba2.tar.xz
linux-e46e5dc2b2f364b5192a5878267239b8c8979ba2.zip
hwmon: (adt7410) Add device table entry for the adt7420
The adt7420 is software compatible to the adt7410. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Reviewed-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/adt7410.c')
-rw-r--r--drivers/hwmon/adt7410.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/adt7410.c b/drivers/hwmon/adt7410.c
index 99f6d3239cba..99a7290da0a3 100644
--- a/drivers/hwmon/adt7410.c
+++ b/drivers/hwmon/adt7410.c
@@ -407,6 +407,7 @@ static int adt7410_remove(struct i2c_client *client)
static const struct i2c_device_id adt7410_ids[] = {
{ "adt7410", adt7410, },
+ { "adt7420", adt7410, },
{ /* LIST END */ }
};
MODULE_DEVICE_TABLE(i2c, adt7410_ids);
@@ -455,5 +456,5 @@ static struct i2c_driver adt7410_driver = {
module_i2c_driver(adt7410_driver);
MODULE_AUTHOR("Hartmut Knaack");
-MODULE_DESCRIPTION("ADT7410 driver");
+MODULE_DESCRIPTION("ADT7410/ADT7420 driver");
MODULE_LICENSE("GPL");