diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-05-08 11:22:03 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-05-08 11:22:03 -0400 |
commit | f5f8d38b18cb7731a8dbcd982f1b80370f0f19cd (patch) | |
tree | 4b84bc090c833226ab6fb0aaa3d4c36f5b08410a /drivers/hwmon | |
parent | 348753379a7704087603dad403603e825422fd9a (diff) |
hwmon/w83781d: Deprecate W83627HF support
The W83627HF is better supported by the w83627hf driver.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/w83781d.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c index b62bb28ac870..f85b48fea1c4 100644 --- a/drivers/hwmon/w83781d.c +++ b/drivers/hwmon/w83781d.c | |||
@@ -1440,6 +1440,11 @@ w83781d_init_device(struct device *dev) | |||
1440 | int type = data->type; | 1440 | int type = data->type; |
1441 | u8 tmp; | 1441 | u8 tmp; |
1442 | 1442 | ||
1443 | if (type == w83627hf) | ||
1444 | dev_info(dev, "The W83627HF chip is better supported by the " | ||
1445 | "w83627hf driver, support will be dropped from the " | ||
1446 | "w83781d driver soon\n"); | ||
1447 | |||
1443 | if (reset && type != as99127f) { /* this resets registers we don't have | 1448 | if (reset && type != as99127f) { /* this resets registers we don't have |
1444 | documentation for on the as99127f */ | 1449 | documentation for on the as99127f */ |
1445 | /* Resetting the chip has been the default for a long time, | 1450 | /* Resetting the chip has been the default for a long time, |