hwmon: (f75375s) Make pwm*_mode writable for the F75387
PATCH v2 2/4 hwmon: (f75375s) Make pwm*_mode writable for the F75387
Signed-off-by Nikolaus Schulz <[email protected]>
--- drivers/hwmon/f75375s.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/hwmon/f75375s.c +1 -1
@@ -794,7 +794,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
Guenter Roeck
AppliedQuoted 10 lines · Nikolaus Schulz
Signed-off-by Nikolaus Schulz <[email protected]>--- drivers/hwmon/f75375s.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/hwmon/f75375s.c +0
-0
drivers/hwmon/f75375s.c static int f75375_probe(struct i2c_client *client, · line 800
Quoted 8 lines
drivers/hwmon/f75375s.c +1
-1@@ -794,7 +794,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 );
Applied.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors