android_kernel_motorola_sm6225/drivers/cpuidle
Daniel Lezcano 10b9d3f8a4 cpuidle: Check cpuidle_enable_device() return value
We previously changed the ordering of the cpuidle framework
initialization so that the governors are registered before the
drivers which can register their devices right from the start.

Now, we can safely remove the __cpuidle_register_device() call hack
in cpuidle_enable_device() and check if the driver has been
registered before enabling it.  Then, cpuidle_register_device() can
consistently check the cpuidle_enable_device() return value when
enabling the device.

[rjw: Changelog]
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-07-15 02:09:47 +02:00
..
governors cpuidle: Make it clear that governors cannot be modules 2013-07-15 02:09:47 +02:00
coupled.c cpuidle / coupled: fix ready counter decrement 2013-01-03 13:11:05 +01:00
cpuidle-calxeda.c ARM: introduce common set_auxcr/get_auxcr functions 2013-05-29 15:50:34 -04:00
cpuidle-kirkwood.c cpuidle: add maintainer entry 2013-04-26 22:30:25 +02:00
cpuidle-zynq.c ARM: zynq: Add cpuidle support 2013-06-05 14:04:26 +02:00
cpuidle.c cpuidle: Check cpuidle_enable_device() return value 2013-07-15 02:09:47 +02:00
cpuidle.h cpuidle: support multiple drivers 2012-11-15 00:34:23 +01:00
driver.c cpuidle: Comment the driver's framework code 2013-06-11 14:18:33 +02:00
governor.c cpuidle: create bootparam "cpuidle.off=1" 2011-08-03 19:06:36 -04:00
Kconfig Power management and ACPI updates for 3.11-rc1 2013-07-03 14:35:40 -07:00
Makefile ARM: zynq: Add cpuidle support 2013-06-05 14:04:26 +02:00
sysfs.c cpuidle: fix number of initialized/destroyed states 2013-01-11 23:20:09 +01:00