Skip to contentSkip to conversation

cpuidle: menu: tidy up some indenting

PATCH New Dan Carpenter 1 participant 1 message Apr 11, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpuidle: menu: tidy up some indenting

These lines were indented 4 spaces less than they should have been. It was a little confusing.

drivers/cpuidle/governors/menu.c +2 -2
index 1bfe03ceb236..b733dc6aa42b 100644
@@ -426,8 +426,8 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
 			 * tick, so try to correct that.
 			 */
 			for (i = idx - 1; i >= 0; i--) {
-			    if (drv->states[i].disabled ||
-			        dev->states_usage[i].disable)
+				if (drv->states[i].disabled ||
+				    dev->states_usage[i].disable)
 					continue;
 
 				idx = i;