Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39587
b: refs/heads/master
c: 6df0570
h: refs/heads/master
i:
  39585: 1b8c668
  39583: 28d64e8
v: v3
  • Loading branch information
Alexey Dobriyan authored and Len Brown committed Oct 14, 2006
1 parent 165727f commit de0c96e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 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: 6311f0dac006032b82e3556874a1e18b31e80de2
refs/heads/master: 6df05702f97f99e038ab817f4466386f6255f58d
10 changes: 1 addition & 9 deletions trunk/drivers/acpi/asus_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,7 @@ proc_write_ledd(struct file *file, const char __user * buffer,
"Asus ACPI: LED display write failed\n");
else
hotk->ledd_status = (u32) value;
} else if (rv < 0)
printk(KERN_WARNING "Asus ACPI: Error reading user input\n");

}
return rv;
}

Expand Down Expand Up @@ -849,10 +847,7 @@ proc_write_brn(struct file *file, const char __user * buffer,
value = (0 < value) ? ((15 < value) ? 15 : value) : 0;
/* 0 <= value <= 15 */
set_brightness(value);
} else if (rv < 0) {
printk(KERN_WARNING "Asus ACPI: Error reading user input\n");
}

return rv;
}

Expand Down Expand Up @@ -897,9 +892,6 @@ proc_write_disp(struct file *file, const char __user * buffer,
rv = parse_arg(buffer, count, &value);
if (rv > 0)
set_display(value);
else if (rv < 0)
printk(KERN_WARNING "Asus ACPI: Error reading user input\n");

return rv;
}

Expand Down

0 comments on commit de0c96e

Please sign in to comment.