summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/governors
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/governors
parentMerge tag 'pm-4.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa... (diff)
downloadlinux-f390c5eb2858c9fceccba7c4118003b6baf9176a.tar.xz
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/governors')
-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;