[PATCH 15/18][V3] ARM: OMAP3: cpuidle - simplify next_valid_state