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: 2254161 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 03B914006E for ; Tue, 12 Mar 2013 09:28:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755239Ab3CLJ2E (ORCPT ); Tue, 12 Mar 2013 05:28:04 -0400 Received: from mail-we0-f182.google.com ([74.125.82.182]:51007 "EHLO mail-we0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755236Ab3CLJ2C (ORCPT ); Tue, 12 Mar 2013 05:28:02 -0400 Received: by mail-we0-f182.google.com with SMTP id t57so4563062wey.13 for ; Tue, 12 Mar 2013 02:28:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=GvqwoOEqJ4yJK1zOrzzbakm6i6dsTlK9pl25pagG8Ug=; b=S8VHM8J3O9ahnNRs0q20YRqFqbHHrE0d0qiBsksQyn6SoL1Fu1HhjXmsSEUZZZz+gj hhgKKwFPe+sCEaJikAyMvDpPhfRWnwzpjfsSHS6L8GwvQfDjL3jqFKnAfzP3V5OlGFfI s/DBV103GQ2t98cc6uzUyIUa6kbgW9cz8lMhyxi6ZTpiBWfa2ePOuMRHPsIC9EYITCpx v6bHS4nvFxzeIEz6TgWvkX35XTH4g4W6zxqy9DL98vUOrtzd+9IgfS7yAe4DKALp6YuD 2du+IrejZ98bVv2GMqMMDLOk4tKWNSzy64P8omTczbPwzn6DCFLauuDUrEMFK18pRPcy LMcQ== 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: ALoCoQlJ1B4fEXtX0R4cc3d/4UWW3yL7w7Y5yHn6Rpj6zjH8eDGo8wQhS0hNsnpWBzQnoIUuwhCT Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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