From patchwork Fri Nov 14 09:44:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 40805 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4C999240ED for ; Fri, 14 Nov 2014 09:44:44 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id q1sf10107457lam.0 for ; Fri, 14 Nov 2014 01:44:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=A81dv1SfASRvbUaJhcLz1OWQnCpPHI9zz4N8BR95q0g=; b=NPmYT46CxGLr+Jtk6C/8WG7l55TbDKOOFT5HpZ8E1UXWbrBVfiRVmH8qpz3UnHYH/n SZLAhmp38f2jcMQS8GXss8fTEupy5gUo9scd6kabrwTZ4mcpW5WpZRXqAh5ulf5gcnP0 YctXLfV1Q35SV0xqMNCcjIjpulU9yP3VlaQP+bp/hWJoKUEHSxvZFZYVYKCpOPpemK1m i32iJRer8lgmdU3h6IsiUZJSUIAYdoqY4iBEEb/O62ZjYYAO9yQHXAV5ujmMommlTI1w rG2uhk5zJr3BvQ7jt8CiAnQD7jXLWZwtWUY0HMzcGCxnabI/IIx2iSNzCsPbzxIN9Rwr cSmQ== X-Gm-Message-State: ALoCoQm8/GU0bbFlegW3qm8BL+wmb5gxbwDKQk1RV1GurULTLL8aWsfg/S/7FhLr8YVWqUUUnC2l X-Received: by 10.181.27.135 with SMTP id jg7mr872270wid.5.1415958283185; Fri, 14 Nov 2014 01:44:43 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.39 with SMTP id b7ls775437lae.38.gmail; Fri, 14 Nov 2014 01:44:42 -0800 (PST) X-Received: by 10.152.36.33 with SMTP id n1mr7306052laj.6.1415958282532; Fri, 14 Nov 2014 01:44:42 -0800 (PST) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id tn9si41049422lbb.72.2014.11.14.01.44.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Nov 2014 01:44:42 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by mail-lb0-f173.google.com with SMTP id n15so12602336lbi.32 for ; Fri, 14 Nov 2014 01:44:42 -0800 (PST) X-Received: by 10.112.62.166 with SMTP id z6mr1743493lbr.74.1415958282458; Fri, 14 Nov 2014 01:44:42 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp737260lbc; Fri, 14 Nov 2014 01:44:41 -0800 (PST) X-Received: by 10.66.154.10 with SMTP id vk10mr8779049pab.26.1415958280882; Fri, 14 Nov 2014 01:44:40 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dd1si27914774pbc.119.2014.11.14.01.44.40 for ; Fri, 14 Nov 2014 01:44:40 -0800 (PST) Received-SPF: none (google.com: linux-acpi-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754979AbaKNJog (ORCPT + 5 others); Fri, 14 Nov 2014 04:44:36 -0500 Received: from mail-pd0-f173.google.com ([209.85.192.173]:40022 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754931AbaKNJoc (ORCPT ); Fri, 14 Nov 2014 04:44:32 -0500 Received: by mail-pd0-f173.google.com with SMTP id v10so16430455pde.32 for ; Fri, 14 Nov 2014 01:44:31 -0800 (PST) X-Received: by 10.66.240.71 with SMTP id vy7mr8897939pac.89.1415958271618; Fri, 14 Nov 2014 01:44:31 -0800 (PST) Received: from localhost ([111.140.36.65]) by mx.google.com with ESMTPSA id r2sm9938657pdi.60.2014.11.14.01.44.30 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 14 Nov 2014 01:44:31 -0800 (PST) From: Hanjun Guo To: "Rafael J. Wysocki" Cc: linux-acpi@vger.kernel.org, Hanjun Guo Subject: [PATCH] ACPI / Kconfig: Remove redundant depends on ACPI Date: Fri, 14 Nov 2014 17:44:07 +0800 Message-Id: <1415958247-7143-1-git-send-email-hanjun.guo@linaro.com> X-Mailer: git-send-email 1.9.1 Sender: linux-acpi-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- 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"