From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: rob.herring@calxeda.com
Cc: rjw@sisk.pl, linux-pm@vger.kernel.org, patches@linaro.org,
linaro-kernel@lists.linaro.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] cpuidle / calxeda: remove redundant Kconfig option
Date: Tue, 19 Mar 2013 12:49:12 +0100 [thread overview]
Message-ID: <514850B8.70707@linaro.org> (raw)
In-Reply-To: <1363080476-26555-2-git-send-email-daniel.lezcano@linaro.org>
On 03/12/2013 10:27 AM, Daniel Lezcano wrote:
> 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 <daniel.lezcano@linaro.org>
> ---
Hi Rob,
sorry I missed to add you in Cc for this patch.
Regards
-- Daniel
> 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
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
next prev parent reply other threads:[~2013-03-19 11:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 9:27 [PATCH 1/2] cpuidle / kirkwood: remove redundant Kconfig option Daniel Lezcano
2013-03-12 9:27 ` [PATCH 2/2] cpuidle / calxeda: " Daniel Lezcano
2013-03-19 11:49 ` Daniel Lezcano [this message]
2013-03-19 12:22 ` Rob Herring
2013-03-19 14:35 ` Daniel Lezcano
2013-03-19 15:13 ` Rob Herring
2013-03-19 22:03 ` Daniel Lezcano
2013-03-12 11:22 ` [PATCH 1/2] cpuidle / kirkwood: " Jason Cooper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=514850B8.70707@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=patches@linaro.org \
--cc=rjw@sisk.pl \
--cc=rob.herring@calxeda.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).