All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] thermal: Rephrase the Kconfig text for thermal
@ 2020-02-29 20:45 Linus Walleij
  2020-02-29 21:25 ` Daniel Lezcano
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Linus Walleij @ 2020-02-29 20:45 UTC (permalink / raw)
  To: Zhang Rui, Amit Kucheria, Daniel Lezcano; +Cc: linux-pm, Linus Walleij

The thermal subsystem may have relied on sysfs in 2008 when it
was introduced, but these days the thermal zones will more often
than not come from the hardware descriptions and not from sysfs.

Drop the "Generic" phrases as well: there are no non-generic
drivers that I know of, the thermal framework is by definition
generic.

Reword a bit and fix some grammar.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/thermal/Kconfig | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 5a05db5438d6..a88aa0f6c5a8 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -1,17 +1,18 @@
 # SPDX-License-Identifier: GPL-2.0-only
 #
-# Generic thermal sysfs drivers configuration
+# Generic thermal drivers configuration
 #
 
 menuconfig THERMAL
-	bool "Generic Thermal sysfs driver"
+	bool "Thermal drivers"
 	help
-	  Generic Thermal Sysfs driver offers a generic mechanism for
+	  Thermal drivers offers a generic mechanism for
 	  thermal management. Usually it's made up of one or more thermal
-	  zone and cooling device.
+	  zones and cooling devices.
 	  Each thermal zone contains its own temperature, trip points,
-	  cooling devices.
-	  All platforms with ACPI thermal support can use this driver.
+	  and cooling devices.
+	  All platforms with ACPI or Open Firmware thermal support can use
+	  this driver.
 	  If you want this support, you should say Y here.
 
 if THERMAL
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] thermal: Rephrase the Kconfig text for thermal
  2020-02-29 20:45 [PATCH] thermal: Rephrase the Kconfig text for thermal Linus Walleij
@ 2020-02-29 21:25 ` Daniel Lezcano
  2020-02-29 22:13 ` Randy Dunlap
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Daniel Lezcano @ 2020-02-29 21:25 UTC (permalink / raw)
  To: Linus Walleij, Zhang Rui, Amit Kucheria; +Cc: linux-pm

On 29/02/2020 21:45, Linus Walleij wrote:
> The thermal subsystem may have relied on sysfs in 2008 when it
> was introduced, but these days the thermal zones will more often
> than not come from the hardware descriptions and not from sysfs.
> 
> Drop the "Generic" phrases as well: there are no non-generic
> drivers that I know of, the thermal framework is by definition
> generic.
> 
> Reword a bit and fix some grammar.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Thanks for this change :)

> ---
>  drivers/thermal/Kconfig | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 5a05db5438d6..a88aa0f6c5a8 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -1,17 +1,18 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  #
> -# Generic thermal sysfs drivers configuration
> +# Generic thermal drivers configuration
>  #
>  
>  menuconfig THERMAL
> -	bool "Generic Thermal sysfs driver"
> +	bool "Thermal drivers"
>  	help
> -	  Generic Thermal Sysfs driver offers a generic mechanism for
> +	  Thermal drivers offers a generic mechanism for
>  	  thermal management. Usually it's made up of one or more thermal
> -	  zone and cooling device.
> +	  zones and cooling devices.
>  	  Each thermal zone contains its own temperature, trip points,
> -	  cooling devices.
> -	  All platforms with ACPI thermal support can use this driver.
> +	  and cooling devices.
> +	  All platforms with ACPI or Open Firmware thermal support can use
> +	  this driver.
>  	  If you want this support, you should say Y here.
>  
>  if THERMAL
> 


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] thermal: Rephrase the Kconfig text for thermal
  2020-02-29 20:45 [PATCH] thermal: Rephrase the Kconfig text for thermal Linus Walleij
  2020-02-29 21:25 ` Daniel Lezcano
@ 2020-02-29 22:13 ` Randy Dunlap
  2020-03-01 13:54 ` Amit Kucheria
  2020-03-02  9:52 ` Daniel Lezcano
  3 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2020-02-29 22:13 UTC (permalink / raw)
  To: Linus Walleij, Zhang Rui, Amit Kucheria, Daniel Lezcano; +Cc: linux-pm

On 2/29/20 12:45 PM, Linus Walleij wrote:
> The thermal subsystem may have relied on sysfs in 2008 when it
> was introduced, but these days the thermal zones will more often
> than not come from the hardware descriptions and not from sysfs.
> 
> Drop the "Generic" phrases as well: there are no non-generic
> drivers that I know of, the thermal framework is by definition
> generic.
> 
> Reword a bit and fix some grammar.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
>  drivers/thermal/Kconfig | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 5a05db5438d6..a88aa0f6c5a8 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -1,17 +1,18 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  #
> -# Generic thermal sysfs drivers configuration
> +# Generic thermal drivers configuration
>  #
>  
>  menuconfig THERMAL
> -	bool "Generic Thermal sysfs driver"
> +	bool "Thermal drivers"
>  	help
> -	  Generic Thermal Sysfs driver offers a generic mechanism for
> +	  Thermal drivers offers a generic mechanism for

preferably:               offer

>  	  thermal management. Usually it's made up of one or more thermal
> -	  zone and cooling device.
> +	  zones and cooling devices.


-- 
~Randy


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] thermal: Rephrase the Kconfig text for thermal
  2020-02-29 20:45 [PATCH] thermal: Rephrase the Kconfig text for thermal Linus Walleij
  2020-02-29 21:25 ` Daniel Lezcano
  2020-02-29 22:13 ` Randy Dunlap
@ 2020-03-01 13:54 ` Amit Kucheria
  2020-03-02  9:52 ` Daniel Lezcano
  3 siblings, 0 replies; 5+ messages in thread
From: Amit Kucheria @ 2020-03-01 13:54 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Zhang Rui, Daniel Lezcano, Linux PM list

On Sun, Mar 1, 2020 at 2:17 AM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> The thermal subsystem may have relied on sysfs in 2008 when it
> was introduced, but these days the thermal zones will more often
> than not come from the hardware descriptions and not from sysfs.
>
> Drop the "Generic" phrases as well: there are no non-generic
> drivers that I know of, the thermal framework is by definition
> generic.
>
> Reword a bit and fix some grammar.
>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Acked-by: Amit Kucheria <amit.kucheria@linaro.org>

> ---
>  drivers/thermal/Kconfig | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 5a05db5438d6..a88aa0f6c5a8 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -1,17 +1,18 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  #
> -# Generic thermal sysfs drivers configuration
> +# Generic thermal drivers configuration
>  #
>
>  menuconfig THERMAL
> -       bool "Generic Thermal sysfs driver"
> +       bool "Thermal drivers"
>         help
> -         Generic Thermal Sysfs driver offers a generic mechanism for
> +         Thermal drivers offers a generic mechanism for
>           thermal management. Usually it's made up of one or more thermal
> -         zone and cooling device.
> +         zones and cooling devices.
>           Each thermal zone contains its own temperature, trip points,
> -         cooling devices.
> -         All platforms with ACPI thermal support can use this driver.
> +         and cooling devices.
> +         All platforms with ACPI or Open Firmware thermal support can use
> +         this driver.
>           If you want this support, you should say Y here.
>
>  if THERMAL
> --
> 2.24.1
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] thermal: Rephrase the Kconfig text for thermal
  2020-02-29 20:45 [PATCH] thermal: Rephrase the Kconfig text for thermal Linus Walleij
                   ` (2 preceding siblings ...)
  2020-03-01 13:54 ` Amit Kucheria
@ 2020-03-02  9:52 ` Daniel Lezcano
  3 siblings, 0 replies; 5+ messages in thread
From: Daniel Lezcano @ 2020-03-02  9:52 UTC (permalink / raw)
  To: Linus Walleij, Zhang Rui, Amit Kucheria; +Cc: linux-pm

On 29/02/2020 21:45, Linus Walleij wrote:
> The thermal subsystem may have relied on sysfs in 2008 when it
> was introduced, but these days the thermal zones will more often
> than not come from the hardware descriptions and not from sysfs.
> 
> Drop the "Generic" phrases as well: there are no non-generic
> drivers that I know of, the thermal framework is by definition
> generic.
> 
> Reword a bit and fix some grammar.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

I've applied the patch and fixed Randy's comment

Thanks

  -- Daniel


-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-02  9:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-29 20:45 [PATCH] thermal: Rephrase the Kconfig text for thermal Linus Walleij
2020-02-29 21:25 ` Daniel Lezcano
2020-02-29 22:13 ` Randy Dunlap
2020-03-01 13:54 ` Amit Kucheria
2020-03-02  9:52 ` Daniel Lezcano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.