Re: [PATCH 06/17] ARM: OMAP4: cpuidle - use the omap4_idle_data variable directly

2012-04-04 Thread Jean Pihet
Hi Daniel, On Wed, Apr 4, 2012 at 11:42 AM, Daniel Lezcano wrote: > We are storing the 'omap4_idle_data' in the private data field > if the cpuidle device. As we are using this variable only in this file, Typo: _of_ the cpuidle device. > that does not really make sense. Let's use the global vari

[PATCH 06/17] ARM: OMAP4: cpuidle - use the omap4_idle_data variable directly

2012-04-04 Thread Daniel Lezcano
We are storing the 'omap4_idle_data' in the private data field if the cpuidle device. As we are using this variable only in this file, that does not really make sense. Let's use the global variable directly instead dereferencing pointers in an idle critical loop. Also, that simplfies the code. Si