Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5f8d38b authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare
Browse files

hwmon/w83781d: Deprecate W83627HF support



The W83627HF is better supported by the w83627hf driver.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 34875337
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -1440,6 +1440,11 @@ w83781d_init_device(struct device *dev)
	int type = data->type;
	int type = data->type;
	u8 tmp;
	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
	if (reset && type != as99127f) { /* this resets registers we don't have
					   documentation for on the as99127f */
					   documentation for on the as99127f */
		/* Resetting the chip has been the default for a long time,
		/* Resetting the chip has been the default for a long time,