projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d737c09
)
hwmon: (sht15) Correct a comment mistake
author
Vivien Didelot
<
[email protected]
>
Mon, 25 Jul 2011 19:46:10 +0000
(21:46 +0200)
committer
Jean Delvare
<
[email protected]
>
Mon, 25 Jul 2011 19:46:10 +0000
(21:46 +0200)
sht15_store_heater() is called on _write_ access to heater_enable.
Signed-off-by: Vivien Didelot <
[email protected]
>
Signed-off-by: Jean Delvare <
[email protected]
>
drivers/hwmon/sht15.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/sht15.c
b/drivers/hwmon/sht15.c
index cf4330b352ef2c9b439b1685c5d94ad29eba31f4..7d231cf5d2ced2fe71c40b6dda38b809874a1e6f 100644
(file)
--- a/
drivers/hwmon/sht15.c
+++ b/
drivers/hwmon/sht15.c
@@
-671,7
+671,7
@@
static ssize_t sht15_show_status(struct device *dev,
* @buf: sysfs buffer to read the new heater state from.
* @count: length of the data.
*
- * Will be called on
read
access to heater_enable sysfs attribute.
+ * Will be called on
write
access to heater_enable sysfs attribute.
* Returns number of bytes actually decoded, negative errno on error.
*/
static ssize_t sht15_store_heater(struct device *dev,