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)
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>

No differences found