kernel-ark/drivers/cpuidle
Daniel Lezcano 1aef40e288 cpuidle / sysfs: change function parameter
The function needs the cpuidle_device which is initially passed to the
caller.

The current code gets the struct device from the struct cpuidle_device,
pass it the cpuidle_add_sysfs function. This function calls
per_cpu(cpuidle_devices, cpu) to get the cpuidle_device.

This patch pass the cpuidle_device instead and simplify the code.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2012-11-15 00:34:19 +01:00
..
governors PM / cpuidle: Make ladder governor use the "disabled" state flag 2012-09-04 01:35:45 +02:00
coupled.c cpuidle: Prevent null pointer dereference in cpuidle_coupled_cpu_notify 2012-08-17 19:37:08 +02:00
cpuidle.c cpuidle / sysfs: change function parameter 2012-11-15 00:34:19 +01:00
cpuidle.h cpuidle / sysfs: change function parameter 2012-11-15 00:34:19 +01:00
driver.c cpuidle: rename function name "__cpuidle_register_driver", v2 2012-09-22 00:38:32 +02:00
governor.c cpuidle: create bootparam "cpuidle.off=1" 2011-08-03 19:06:36 -04:00
Kconfig cpuidle: add support for states that affect multiple cpus 2012-06-02 00:49:09 -04:00
Makefile cpuidle: add support for states that affect multiple cpus 2012-06-02 00:49:09 -04:00
sysfs.c cpuidle / sysfs: change function parameter 2012-11-15 00:34:19 +01:00