[PATCH 08/16] ACPI / idle: pass the cpuidle_device parameter

2013-02-08 Thread Len Brown
From: Daniel Lezcano The cpuidle_device is retrieved in the function by using directly the global variable. But the caller of this function already have this device and it can be passed as a parameter. That is one small step to encapsulate the code more. Signed-off-by: Daniel Lezcano

[PATCH 08/16] ACPI / idle: pass the cpuidle_device parameter

2013-02-08 Thread Len Brown
From: Daniel Lezcano daniel.lezc...@linaro.org The cpuidle_device is retrieved in the function by using directly the global variable. But the caller of this function already have this device and it can be passed as a parameter. That is one small step to encapsulate the code more. Signed-off-by: