diff options
Diffstat (limited to 'drivers/hwmon/adt7473.c')
-rw-r--r-- | drivers/hwmon/adt7473.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/adt7473.c b/drivers/hwmon/adt7473.c index 97ef50833f64..aea244db974e 100644 --- a/drivers/hwmon/adt7473.c +++ b/drivers/hwmon/adt7473.c | |||
@@ -174,7 +174,6 @@ static const struct i2c_device_id adt7473_id[] = { | |||
174 | { "adt7473", adt7473 }, | 174 | { "adt7473", adt7473 }, |
175 | { } | 175 | { } |
176 | }; | 176 | }; |
177 | MODULE_DEVICE_TABLE(i2c, adt7473_id); | ||
178 | 177 | ||
179 | static struct i2c_driver adt7473_driver = { | 178 | static struct i2c_driver adt7473_driver = { |
180 | .class = I2C_CLASS_HWMON, | 179 | .class = I2C_CLASS_HWMON, |
@@ -1166,6 +1165,8 @@ static int adt7473_remove(struct i2c_client *client) | |||
1166 | 1165 | ||
1167 | static int __init adt7473_init(void) | 1166 | static int __init adt7473_init(void) |
1168 | { | 1167 | { |
1168 | pr_notice("The adt7473 driver is deprecated, please use the adt7475 " | ||
1169 | "driver instead\n"); | ||
1169 | return i2c_add_driver(&adt7473_driver); | 1170 | return i2c_add_driver(&adt7473_driver); |
1170 | } | 1171 | } |
1171 | 1172 | ||