]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
hwmon: (adt7410) Add device table entry for the adt7420
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 15 Feb 2013 16:57:14 +0000 (17:57 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 20 Feb 2013 01:34:16 +0000 (17:34 -0800)
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>
drivers/hwmon/Kconfig
drivers/hwmon/adt7410.c

index 52d5174792ee36eac6b0392ff6545690b176d7ce..89ac1cb26f24e6649b40ec253436bc4ee96437a5 100644 (file)
@@ -180,11 +180,11 @@ config SENSORS_ADM9240
          will be called adm9240.
 
 config SENSORS_ADT7410
-       tristate "Analog Devices ADT7410"
+       tristate "Analog Devices ADT7410/ADT7420"
        depends on I2C
        help
          If you say yes here you get support for the Analog Devices
-         ADT7410 temperature monitoring chip.
+         ADT7410 and ADT7420 temperature monitoring chips.
 
          This driver can also be built as a module. If so, the module
          will be called adt7410.
index 99f6d3239cba12c6b7d525e230440210ff86524e..99a7290da0a343c4e0e970c57eebfeca86486589 100644 (file)
@@ -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");