From: Santosh Shilimkar Date: Mon, 25 Mar 2013 10:05:04 +0000 (+0530) Subject: ARM: OMAP4: CPUidle: Avoid double idle driver registration X-Git-Tag: omap-for-v3.10/cleanup-pm-signed^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c90393d630deaaf23eccf99a6e1accc40c2b6a8;p=pandora-kernel.git 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 Acked-by: Nishanth Menon Signed-off-by: Santosh Shilimkar Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed