summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/Kconfig.arm
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-10-02 23:44:06 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-10-04 19:25:53 +0200
commit96c3d11df15323e7f6e55242f7bda610c4bef402 (patch)
tree3d07ec7f6d6ea7e66816f95bee90d785c48df3a2 /drivers/cpuidle/Kconfig.arm
parent23e8ceb9ce766c81d62434053aef6e7efea6fcc3 (diff)
downloadlinux-96c3d11df15323e7f6e55242f7bda610c4bef402.tar.gz
linux-96c3d11df15323e7f6e55242f7bda610c4bef402.tar.bz2
linux-96c3d11df15323e7f6e55242f7bda610c4bef402.zip
cpuidle: menu: Get rid of first_idx from menu_select()
Rearrange the code in menu_select() so that the loop over idle states always starts from 0 and get rid of the first_idx variable. While at it, add two empty lines to separate conditional statements from one another. No intentional behavior changes. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/cpuidle/Kconfig.arm')
0 files changed, 0 insertions, 0 deletions