commit | dbd1ba6a62408520e5c7a024b521af14e71b2987 | [log] [tgz] |
---|---|---|
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | Mon Mar 25 15:35:04 2013 +0530 |
committer | Kevin Hilman <khilman@linaro.org> | Tue Apr 09 09:44:49 2013 -0700 |
tree | a14c6cf92fa2b2fd7af48269ddd725392f218ef4 | |
parent | 0d97558901c446a989de202a5d9ae94ec53644e5 [diff] |
ARM: OMAP4: CPUidle: Avoid double idle driver registration 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 <nm@ti.com> Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Kevin Hilman <khilman@linaro.org>