Searched hist:"1 aef40e288acfb3cc28ff77528b34ef66683bed6" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/cpuidle/ |
H A D | cpuidle.h | diff 1aef40e288acfb3cc28ff77528b34ef66683bed6 Fri Oct 26 05:26:24 CDT 2012 Daniel Lezcano <daniel.lezcano@linaro.org> 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>
|
H A D | sysfs.c | diff 1aef40e288acfb3cc28ff77528b34ef66683bed6 Fri Oct 26 05:26:24 CDT 2012 Daniel Lezcano <daniel.lezcano@linaro.org> 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>
|
H A D | cpuidle.c | diff 1aef40e288acfb3cc28ff77528b34ef66683bed6 Fri Oct 26 05:26:24 CDT 2012 Daniel Lezcano <daniel.lezcano@linaro.org> 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>
|