]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPI / idle: pass the cpuidle_device parameter
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 4 Feb 2013 22:44:42 +0000 (22:44 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 8 Feb 2013 23:44:51 +0000 (18:44 -0500)
commit6ef0f086beafb3c7d81cd3de81d886d105ea25b2
tree4ba11f2a38aca41ac1d0ec0f32464b2374de6c31
parente2668fb53ffd3e01c3116f65a9047a25e4c66399
ACPI / idle: pass the cpuidle_device parameter

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 <daniel.lezcano@linaro.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_idle.c