Skip to content

Commit

Permalink
hwmon: (f75375s) Make pwm*_mode writable for the F75387
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
  • Loading branch information
Nikolaus Schulz authored and Guenter Roeck committed Feb 28, 2012
1 parent 331255d commit edeea10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/f75375s.c
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,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);
Expand Down

0 comments on commit edeea10

Please sign in to comment.