diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2011-07-25 15:46:10 -0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-07-25 15:46:10 -0400 |
commit | e9b6e9f3d4c58f76da8ec8286c7b901af8575f5b (patch) | |
tree | d7eba9027480b959fc1a86d0961a97f720e7daa4 /drivers/hwmon/sht15.c | |
parent | d737c09cfb78424276e3eb45d1e7af578a451fd4 (diff) |
hwmon: (sht15) Correct a comment mistake
sht15_store_heater() is called on _write_ access to heater_enable.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/sht15.c')
-rw-r--r-- | drivers/hwmon/sht15.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c index cf4330b352ef..7d231cf5d2ce 100644 --- a/drivers/hwmon/sht15.c +++ b/drivers/hwmon/sht15.c | |||
@@ -671,7 +671,7 @@ static ssize_t sht15_show_status(struct device *dev, | |||
671 | * @buf: sysfs buffer to read the new heater state from. | 671 | * @buf: sysfs buffer to read the new heater state from. |
672 | * @count: length of the data. | 672 | * @count: length of the data. |
673 | * | 673 | * |
674 | * Will be called on read access to heater_enable sysfs attribute. | 674 | * Will be called on write access to heater_enable sysfs attribute. |
675 | * Returns number of bytes actually decoded, negative errno on error. | 675 | * Returns number of bytes actually decoded, negative errno on error. |
676 | */ | 676 | */ |
677 | static ssize_t sht15_store_heater(struct device *dev, | 677 | static ssize_t sht15_store_heater(struct device *dev, |