diff mbox

ACPI / Kconfig: Remove redundant depends on ACPI

Message ID 1415958247-7143-1-git-send-email-hanjun.guo@linaro.com
State New
Headers show

Commit Message

Hanjun Guo Nov. 14, 2014, 9:44 a.m. UTC
Since config ACPI_REDUCED_HARDWARE_ONLY is already depended
on ACPI (inside if ACPI / endif), so depdens on ACPI is redundant,
remove it and fix the minor syntax problem also.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.com>
---
 drivers/acpi/Kconfig | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Comments

Rafael J. Wysocki Nov. 18, 2014, 11:29 p.m. UTC | #1
On Friday, November 14, 2014 05:44:07 PM Hanjun Guo wrote:
> Since config ACPI_REDUCED_HARDWARE_ONLY is already depended
> on ACPI (inside if ACPI / endif), so depdens on ACPI is redundant,
> remove it and fix the minor syntax problem also.
> 
> Signed-off-by: Hanjun Guo <hanjun.guo@linaro.com>

Queued up for 3.19-rc1, thanks!

> ---
>  drivers/acpi/Kconfig | 13 ++++++-------
>  1 file changed, 6 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
> index b23fe37..79078b8 100644
> --- a/drivers/acpi/Kconfig
> +++ b/drivers/acpi/Kconfig
> @@ -360,15 +360,14 @@ config ACPI_BGRT
>  config ACPI_REDUCED_HARDWARE_ONLY
>  	bool "Hardware-reduced ACPI support only" if EXPERT
>  	def_bool n
> -	depends on ACPI
>  	help
> -	This config item changes the way the ACPI code is built.  When this
> -	option is selected, the kernel will use a specialized version of
> -	ACPICA that ONLY supports the ACPI "reduced hardware" mode.  The
> -	resulting kernel will be smaller but it will also be restricted to
> -	running in ACPI reduced hardware mode ONLY.
> +	  This config item changes the way the ACPI code is built.  When this
> +	  option is selected, the kernel will use a specialized version of
> +	  ACPICA that ONLY supports the ACPI "reduced hardware" mode.  The
> +	  resulting kernel will be smaller but it will also be restricted to
> +	  running in ACPI reduced hardware mode ONLY.
>  
> -	If you are unsure what to do, do not enable this option.
> +	  If you are unsure what to do, do not enable this option.
>  
>  source "drivers/acpi/apei/Kconfig"
>  
>
diff mbox

Patch

diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index b23fe37..79078b8 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -360,15 +360,14 @@  config ACPI_BGRT
 config ACPI_REDUCED_HARDWARE_ONLY
 	bool "Hardware-reduced ACPI support only" if EXPERT
 	def_bool n
-	depends on ACPI
 	help
-	This config item changes the way the ACPI code is built.  When this
-	option is selected, the kernel will use a specialized version of
-	ACPICA that ONLY supports the ACPI "reduced hardware" mode.  The
-	resulting kernel will be smaller but it will also be restricted to
-	running in ACPI reduced hardware mode ONLY.
+	  This config item changes the way the ACPI code is built.  When this
+	  option is selected, the kernel will use a specialized version of
+	  ACPICA that ONLY supports the ACPI "reduced hardware" mode.  The
+	  resulting kernel will be smaller but it will also be restricted to
+	  running in ACPI reduced hardware mode ONLY.
 
-	If you are unsure what to do, do not enable this option.
+	  If you are unsure what to do, do not enable this option.
 
 source "drivers/acpi/apei/Kconfig"