Skip to content

Commit

Permalink
hwmon/w83781d: Deprecate W83627HF support
Browse files Browse the repository at this point in the history
The W83627HF is better supported by the w83627hf driver.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
  • Loading branch information
Jean Delvare authored and Jean Delvare committed May 8, 2007
1 parent 3487533 commit f5f8d38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/hwmon/w83781d.c
Original file line number Diff line number Diff line change
Expand Up @@ -1440,6 +1440,11 @@ w83781d_init_device(struct device *dev)
int type = data->type;
u8 tmp;

if (type == w83627hf)
dev_info(dev, "The W83627HF chip is better supported by the "
"w83627hf driver, support will be dropped from the "
"w83781d driver soon\n");

if (reset && type != as99127f) { /* this resets registers we don't have
documentation for on the as99127f */
/* Resetting the chip has been the default for a long time,
Expand Down

0 comments on commit f5f8d38

Please sign in to comment.