cpuidle: teo: Cosmetic modifications of teo_update()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 2 Jun 2021 18:15:10 +0000 (20:15 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Jun 2021 16:36:45 +0000 (18:36 +0200)
commitf53cbdab011b200c67c7e5f476046828014501eb
treeb0d3f3704b3e214d00a46f54c9cd2eeeace87108
parent64233338499126c5c31e07165735ab5441c7e45a
cpuidle: teo: Cosmetic modifications of teo_update()

Rename a local variable in teo_update() so that its purpose is better
reflected by its name and use one more local variable in the loop
over the CPU idle states in that function to make the code somewhat
easier to read.

No functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governors/teo.c