Re: [PATCH 1/4] davinci: cpuidle - use global variable for ddr2 flag

2013-02-04 Thread Sekhar Nori
On 2/1/2013 7:18 PM, Daniel Lezcano wrote: > +static bool ddr2_pdown = false; checkpatch.pl warned against zero initialization of static variable here. Other than that the series looks good. I checked that both state0 and state1 are entered on da850 evm. Making power measurements requires more ela

[PATCH 1/4] davinci: cpuidle - use global variable for ddr2 flag

2013-02-01 Thread Daniel Lezcano
Replace the flag by a simple global boolean in the cpuidle.c. That will allow to cleanup the rest of the code right after, because the ops won't make sense anymore. Signed-off-by: Daniel Lezcano --- arch/arm/mach-davinci/cpuidle.c | 23 ++- 1 file changed, 10 insertions(+),