提交 e9b6e9f3 编写于 作者: V Vivien Didelot 提交者: Jean Delvare

hwmon: (sht15) Correct a comment mistake

sht15_store_heater() is called on _write_ access to heater_enable.
Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: NJean Delvare <khali@linux-fr.org>
上级 d737c09c
...@@ -671,7 +671,7 @@ static ssize_t sht15_show_status(struct device *dev, ...@@ -671,7 +671,7 @@ static ssize_t sht15_show_status(struct device *dev,
* @buf: sysfs buffer to read the new heater state from. * @buf: sysfs buffer to read the new heater state from.
* @count: length of the data. * @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. * Returns number of bytes actually decoded, negative errno on error.
*/ */
static ssize_t sht15_store_heater(struct device *dev, static ssize_t sht15_store_heater(struct device *dev,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册