git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
platform/x86: asus_wmi: Fix return value of fan_boost_mode_store
[sfrench/cifs-2.6.git]
/
drivers
/
platform
/
x86
/
asus-wmi.c
diff --git
a/drivers/platform/x86/asus-wmi.c
b/drivers/platform/x86/asus-wmi.c
index 01becbe2a9a85d0877454b93a8605c2f35c65e7c..bb7c529d7d16135347e472385693aeffb104d5be 100644
(file)
--- a/
drivers/platform/x86/asus-wmi.c
+++ b/
drivers/platform/x86/asus-wmi.c
@@
-1722,7
+1722,7
@@
static ssize_t fan_boost_mode_store(struct device *dev,
asus->fan_boost_mode = new_mode;
fan_boost_mode_write(asus);
- return
resul
t;
+ return
coun
t;
}
// Fan boost mode: 0 - normal, 1 - overboost, 2 - silent