RE: [PATCH 03/16] Thermal: Documentation update

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

 



Hi Rui,

No major comments. Just some spell checks.

> -----Original Message-----
> From: Zhang, Rui
> Sent: Thursday, July 19, 2012 12:01 PM
> To: linux-acpi@xxxxxxxxxxxxxxx; linux-pm@xxxxxxxxxxxxxxx
> Cc: Rafael J. Wysocki; Matthew Garrett; Len Brown; R, Durgadoss; Eduardo
> Valentin; Amit Kachhap; Wei Ni; Zhang, Rui
> Subject: [PATCH 03/16] Thermal: Documentation update
> 
> With commit 6503e5df08008b9a47022b5e9ebba658c8fa69af,
> the value of /sys/class/thermal/thermal_zoneX/mode has been changed
> from user/kernel to enabled/disabled.
> Update the documentation so that users won't be confused.
> 
> Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>
> ---
>  Documentation/thermal/sysfs-api.txt |   20 ++++++++++----------
>  drivers/acpi/thermal.c              |    6 ++----
>  2 files changed, 12 insertions(+), 14 deletions(-)
> 
> diff --git a/Documentation/thermal/sysfs-api.txt
> b/Documentation/thermal/sysfs-api.txt
> index 3c8c2f8..b7b3609 100644
> --- a/Documentation/thermal/sysfs-api.txt
> +++ b/Documentation/thermal/sysfs-api.txt
> @@ -47,11 +47,11 @@ temperature) and throttle appropriate devices.
>  	.bind: bind the thermal zone device with a thermal cooling device.
>  	.unbind: unbind the thermal zone device with a thermal cooling device.
>  	.get_temp: get the current temperature of the thermal zone.
> -	.get_mode: get the current mode (user/kernel) of the thermal zone.
> -	    - "kernel" means thermal management is done in kernel.
> -	    - "user" will prevent kernel thermal driver actions upon trip points
> +	.get_mode: get the current mode (enabled/disabled) of the thermal
> zone.
> +	    - "enabled" means the kernel thermal management is enabled.
> +	    - "disable" will prevent kernel thermal driver actions upon trip points

/s/disable/disabled

>  	      so that user applications can take charge of thermal management.
> -	.set_mode: set the mode (user/kernel) of the thermal zone.
> +	.set_mode: set the mode (enabled/disabled) of the thermal zone.
>  	.get_trip_type: get the type of certain trip point.
>  	.get_trip_temp: get the temperature above which the certain trip point
>  			will be fired.
> @@ -170,14 +170,14 @@ temp
>  	RO, Required
> 
>  mode
> -	One of the predefined values in [kernel, user].
> +	One of the predefined values in [enabled, disableed].

/s/disableed/disabled

Thanks,
Durga
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux