Skip to contentSkip to conversation

hwmon: (f75375s) Make pwm*_mode writable for the F75387

PATCH In review Nikolaus Schulz 1 participant 1 message Feb 22, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/6 hwmon: (f75375s) Make pwm*_mode writable for the F75387

---
 drivers/hwmon/f75375s.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/hwmon/f75375s.c +1 -1
index fc6444d..944937c 100644
@@ -802,7 +802,7 @@ static int f75375_probe(struct i2c_client *client,
 	if (err)
 		goto exit_free;
 
-	if (data->kind = f75375) {
+	if (data->kind != f75373) {
 		err = sysfs_chmod_file(&client->dev.kobj,
 			&sensor_dev_attr_pwm1_mode.dev_attr.attr,
 			S_IRUGO | S_IWUSR);
Signature · 7 lines
1.7.9.1


_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors