瀏覽代碼

hwmon/w83781d: Deprecate W83627HF support

The W83627HF is better supported by the w83627hf driver.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Jean Delvare 18 年之前
父節點
當前提交
f5f8d38b18
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      drivers/hwmon/w83781d.c

+ 5 - 0
drivers/hwmon/w83781d.c

@@ -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,