[PATCH 13/17] ARM: OMAP3: cpuidle - use omap3_idle_data directly
jean.pihet at newoldbits.com
Wed Apr 4 16:04:32 UTC 2012
On Wed, Apr 4, 2012 at 11:42 AM, Daniel Lezcano
<daniel.lezcano at linaro.org> wrote:
> We are storing the 'omap3_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 variable directly
> instead dereferencing pointers in an idle critical loop.
> As the table is initialized statically, let's remove the initialization at
> startup too.
> Also, that simplfies the code.
> Signed-off-by: Daniel Lezcano <daniel.lezcano at linaro.org>
More information about the linaro-dev