diff options
author | Nikolaus Schulz <mail@microschulz.de> | 2012-02-28 16:15:52 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-02-28 17:44:02 -0500 |
commit | edeea102857e33b5e9b17a3a2640da390732a693 (patch) | |
tree | dc90f6952f385ca080bf2c8f5fd83b6d2c144285 /drivers | |
parent | 331255d35d6f517020485aee38dbb8b8dfaa1642 (diff) |
hwmon: (f75375s) Make pwm*_mode writable for the F75387
Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hwmon/f75375s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/f75375s.c b/drivers/hwmon/f75375s.c index 61cc9c396a98..eb648d9c91d6 100644 --- a/drivers/hwmon/f75375s.c +++ b/drivers/hwmon/f75375s.c | |||
@@ -795,7 +795,7 @@ static int f75375_probe(struct i2c_client *client, | |||
795 | if (err) | 795 | if (err) |
796 | goto exit_free; | 796 | goto exit_free; |
797 | 797 | ||
798 | if (data->kind == f75375) { | 798 | if (data->kind != f75373) { |
799 | err = sysfs_chmod_file(&client->dev.kobj, | 799 | err = sysfs_chmod_file(&client->dev.kobj, |
800 | &sensor_dev_attr_pwm1_mode.dev_attr.attr, | 800 | &sensor_dev_attr_pwm1_mode.dev_attr.attr, |
801 | S_IRUGO | S_IWUSR); | 801 | S_IRUGO | S_IWUSR); |