summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-08-14 12:39:02 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-08-15 00:08:51 +0200
commitf390c5eb2858c9fceccba7c4118003b6baf9176a (patch)
tree5164e2cf69d97a86bea7765587d10af41fb08c4f /drivers/cpuidle
parentb018fc9800557bd14a40d69501e19c340eb2c521 (diff)
downloadlinux-f390c5eb2858c9fceccba7c4118003b6baf9176a.tar.gz
linux-f390c5eb2858c9fceccba7c4118003b6baf9176a.tar.bz2
linux-f390c5eb2858c9fceccba7c4118003b6baf9176a.zip
cpuidle: menu: Fix white space
Fix some damaged white space in menu_select(). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/governors/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c
index 1aef60d160eb..5700464baad5 100644
--- a/drivers/cpuidle/governors/menu.c
+++ b/drivers/cpuidle/governors/menu.c
@@ -418,8 +418,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;