Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73633
b: refs/heads/master
c: 19e4f3a
h: refs/heads/master
i:
  73631: 8539a33
v: v3
  • Loading branch information
Riku Voipio authored and Mark M. Hoffman committed Nov 8, 2007
1 parent b0a5a4b commit 0cffe4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9be484446cf15b8d935ef493c59a9b059c0cbb71
refs/heads/master: 19e4f3a616ce1753a21b1125fd1923ea6273cd0d
2 changes: 1 addition & 1 deletion trunk/drivers/hwmon/f75375s.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ static ssize_t set_pwm_mode(struct device *dev, struct device_attribute *attr,
int val = simple_strtoul(buf, NULL, 10);
u8 conf = 0;

if (val != 0 || val != 1 || data->kind == f75373)
if (!(val == 0 || val == 1) || data->kind == f75373)
return -EINVAL;

mutex_lock(&data->update_lock);
Expand Down

0 comments on commit 0cffe4f

Please sign in to comment.