From: Chander Kashyap Date: Tue, 22 Apr 2014 12:38:04 +0000 (+0530) Subject: cpuidle / menu: move repeated correction factor check to init X-Git-Tag: omap-for-v3.16/fixes-against-rc1~33^2~35^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bed4d597a0f99b380d24ab3a9da47b62cbf1ad0e;p=pandora-kernel.git cpuidle / menu: move repeated correction factor check to init In menu_select function we check for correction factor every time. If it is zero we are initializing to unity. Hence move it to init function and initialise by unity, hence avoid repeated comparisons. Signed-off-by: Chander Kashyap Reviewed-by: Tuukka Tikkanen Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed