cpuidle / kirkwood: remove redundant Kconfig option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 12 Mar 2013 09:27:55 +0000 (09:27 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 31 Mar 2013 23:10:27 +0000 (01:10 +0200)
commit9a23fe65cf36efc6cb40e96405a3f142c7732805
tree9d7cefbdc5fce13213762cf4e408cf998523e53a
parentd2b578e5fc189d6948eb48bdaf2156f74aecf69c
cpuidle / kirkwood: remove redundant Kconfig option

When the CPU_IDLE and the ARCH_KIRKWOOD options are set it is
pointless to define a new option CPU_IDLE_KIRKWOOD 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_KIRKWOOD.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/configs/kirkwood_defconfig
drivers/cpuidle/Kconfig
drivers/cpuidle/Makefile