Subject: [PATCH v2 12/18] ARM: OMAP4: CPUidle: Avoid double idle driver registration

From: [email-masked] (Kevin Hilman)
Date: Wed, 03 Apr 2013 14:03:10 -0700

Santosh Shilimkar <[email-masked]> writes:

> OMAP4 CPUidle driver registration call is under a loop which leads
> to calling cpuidle_register_driver twice which is not intended.
>
> Fix it by moving the driver registration outside the loop.
>
> Reported-by: Nishanth Menon <[email-masked]>
> Acked-by: Nishanth Menon <[email-masked]>
> Signed-off-by: Santosh Shilimkar <[email-masked]>

Looks good.

I've already got a for_3.10/fixes/cpuidle branch going, so I'll apply
this one there.

Kevin