Re: [PATCH] hwmon: (sht15) correct a comment mistake

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 22 Jul 2011 13:57:09 -0400, Vivien Didelot wrote:
> sht15_store_heater() is called on _write_ access to heater_enable.
> 
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
> ---
>  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 cf4330b..7d231cf 100644
> --- 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,

Applied, thanks!

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux