From patchwork Tue Mar 12 09:27:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 15280 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 0AD8E23EA9 for ; Tue, 12 Mar 2013 09:28:04 +0000 (UTC) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by fiordland.canonical.com (Postfix) with ESMTP id BA88AA18059 for ; Tue, 12 Mar 2013 09:28:03 +0000 (UTC) Received: by mail-ve0-f181.google.com with SMTP id d10so3288832vea.40 for ; Tue, 12 Mar 2013 02:28:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=GvqwoOEqJ4yJK1zOrzzbakm6i6dsTlK9pl25pagG8Ug=; b=ED+QeD9iPIiiY/vm8vEFb8QW4/2fte4Mc4KGKo7SFfhV8Uly7kCz43KTfVruA+/o6T 9E2x3PhXUoLe21Reaib/jQ+AxRMEC1fmt1SfPoz+jDsbfuppRK9H3KIz5cYCTjIV8j97 mmegtXsj7UbV0mu5QmGIGaos5bLCR05x8IKzYWT4pPLmsq5oKHpkMo8rnYlE044RvpHL j//xwVakGY63BfIwIb85XJJ2UWVTSomhNQvUjXMTHXZQRG5whU3Zr6mjacK4PpDe/sYi gZcWPSblaCBjDUMvwIlNk24yGGby1F1zZww+dvMhq9jxqaZkSl2Atx3a3cpIrdW2MFq0 Y8aA== X-Received: by 10.52.93.235 with SMTP id cx11mr5293593vdb.51.1363080483226; Tue, 12 Mar 2013 02:28:03 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp118257veb; Tue, 12 Mar 2013 02:28:02 -0700 (PDT) X-Received: by 10.180.183.177 with SMTP id en17mr11428658wic.2.1363080481193; Tue, 12 Mar 2013 02:28:01 -0700 (PDT) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by mx.google.com with ESMTPS id da9si5618524wib.90.2013.03.12.02.28.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Mar 2013 02:28:01 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.54 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=74.125.82.54; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.54 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: by mail-wg0-f54.google.com with SMTP id fm10so6059948wgb.9 for ; Tue, 12 Mar 2013 02:28:00 -0700 (PDT) X-Received: by 10.194.87.229 with SMTP id bb5mr24831477wjb.32.1363080480800; Tue, 12 Mar 2013 02:28:00 -0700 (PDT) Received: from mai.home (AToulouse-654-1-303-230.w86-199.abo.wanadoo.fr. [86.199.86.230]) by mx.google.com with ESMTPS id fb8sm22742385wid.1.2013.03.12.02.27.59 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Mar 2013 02:28:00 -0700 (PDT) From: Daniel Lezcano To: rjw@sisk.pl Cc: linux-pm@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] cpuidle / calxeda: remove redundant Kconfig option Date: Tue, 12 Mar 2013 10:27:56 +0100 Message-Id: <1363080476-26555-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1363080476-26555-1-git-send-email-daniel.lezcano@linaro.org> References: <1363080476-26555-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQnUheDzZ43CNtgZyaDQnKDOrT9TXsMCYXmelwBa+ppD3UgKfzt9y0k0UWfIsM6Y3XywnXQn When the CPU_IDLE and the ARCH_HIGHBANK options are set it is pointless to define a new option CPU_IDLE_CALXEDA because it is redundant. The Makefile drivers directory contains a condition to compile the cpuidle drivers: obj-$(CONFIG_CPU_IDLE) += cpuidle/ Hence, if CPU_IDLE is not set we won't enter this directory. This patch removes the useless Kconfig option and replaces the condition in the Makefile by CONFIG_ARCH_HIGHBANK. Signed-off-by: Daniel Lezcano --- drivers/cpuidle/Kconfig | 10 ---------- drivers/cpuidle/Makefile | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig index c4cc27e..234ae65 100644 --- a/drivers/cpuidle/Kconfig +++ b/drivers/cpuidle/Kconfig @@ -30,13 +30,3 @@ config CPU_IDLE_GOV_MENU config ARCH_NEEDS_CPU_IDLE_COUPLED def_bool n - -if CPU_IDLE - -config CPU_IDLE_CALXEDA - bool "CPU Idle Driver for Calxeda processors" - depends on ARCH_HIGHBANK - help - Select this to enable cpuidle on Calxeda processors. - -endif diff --git a/drivers/cpuidle/Makefile b/drivers/cpuidle/Makefile index 0d8bd55..d1aba71 100644 --- a/drivers/cpuidle/Makefile +++ b/drivers/cpuidle/Makefile @@ -5,5 +5,5 @@ obj-y += cpuidle.o driver.o governor.o sysfs.o governors/ obj-$(CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED) += coupled.o -obj-$(CONFIG_CPU_IDLE_CALXEDA) += cpuidle-calxeda.o +obj-$(CONFIG_ARCH_HIGHBANK) += cpuidle-calxeda.o obj-$(CONFIG_ARCH_KIRKWOOD) += cpuidle-kirkwood.o