diff mbox

acpi: edit ACPI_PROCFS_POWER help text

Message ID dbb2b722-aa1e-04ca-1487-08984f68d91e@infradead.org (mailing list archive)
State Accepted, archived
Delegated to: Rafael Wysocki
Headers show

Commit Message

Randy Dunlap March 3, 2018, 12:55 a.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Fix grammar and punctuation (end sentences with a period) in the
Kconfig help text for ACPI_PROCFS_POWER.

I was looking at this since it appears to be going away (again,
some day) and I have a working script that uses this info to tell me
battery usage. I can update the script to use /sys/class/power_supply
(in theory) but the contents (with units) should be documented in
Documentation/ABI/ before /proc/acpi/battery/ is removed (IMO).

Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 drivers/acpi/Kconfig |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)



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

Comments

Rafael J. Wysocki March 22, 2018, 11:21 p.m. UTC | #1
On Saturday, March 3, 2018 1:55:54 AM CET Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Fix grammar and punctuation (end sentences with a period) in the
> Kconfig help text for ACPI_PROCFS_POWER.
> 
> I was looking at this since it appears to be going away (again,
> some day) and I have a working script that uses this info to tell me
> battery usage. I can update the script to use /sys/class/power_supply
> (in theory) but the contents (with units) should be documented in
> Documentation/ABI/ before /proc/acpi/battery/ is removed (IMO).
> 
> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
> Cc: Len Brown <lenb@kernel.org>
> Cc: linux-acpi@vger.kernel.org
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
>  drivers/acpi/Kconfig |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> --- linux-next-20180302.orig/drivers/acpi/Kconfig
> +++ linux-next-20180302/drivers/acpi/Kconfig
> @@ -105,14 +105,14 @@ config ACPI_PROCFS_POWER
>            deprecated power /proc/acpi/ directories to exist, even when
>            they have been replaced by functions in /sys.
>            The deprecated directories (and their replacements) include:
> -	  /proc/acpi/battery/* (/sys/class/power_supply/*)
> -	  /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
> +	  /proc/acpi/battery/* (/sys/class/power_supply/*) and
> +	  /proc/acpi/ac_adapter/* (sys/class/power_supply/*).
>  	  This option has no effect on /proc/acpi/ directories
> -	  and functions, which do not yet exist in /sys
> +	  and functions which do not yet exist in /sys.
>  	  This option, together with the proc directories, will be
>  	  deleted in the future.
>  
> -	  Say N to delete power /proc/acpi/ directories that have moved to /sys/
> +	  Say N to delete power /proc/acpi/ directories that have moved to /sys.
>  
>  config ACPI_REV_OVERRIDE_POSSIBLE
>  	bool "Allow supported ACPI revision to be overridden"

Applied, thanks!

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

Patch

--- linux-next-20180302.orig/drivers/acpi/Kconfig
+++ linux-next-20180302/drivers/acpi/Kconfig
@@ -105,14 +105,14 @@  config ACPI_PROCFS_POWER
           deprecated power /proc/acpi/ directories to exist, even when
           they have been replaced by functions in /sys.
           The deprecated directories (and their replacements) include:
-	  /proc/acpi/battery/* (/sys/class/power_supply/*)
-	  /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
+	  /proc/acpi/battery/* (/sys/class/power_supply/*) and
+	  /proc/acpi/ac_adapter/* (sys/class/power_supply/*).
 	  This option has no effect on /proc/acpi/ directories
-	  and functions, which do not yet exist in /sys
+	  and functions which do not yet exist in /sys.
 	  This option, together with the proc directories, will be
 	  deleted in the future.
 
-	  Say N to delete power /proc/acpi/ directories that have moved to /sys/
+	  Say N to delete power /proc/acpi/ directories that have moved to /sys.
 
 config ACPI_REV_OVERRIDE_POSSIBLE
 	bool "Allow supported ACPI revision to be overridden"