]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle: governors: Consolidate PM QoS handling
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 May 2018 11:43:01 +0000 (13:43 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 May 2018 21:13:00 +0000 (23:13 +0200)
commit080c6b73a59599f4c6892d1545a24b3c960b7953
tree2896a3243e31b5a220acbad7fb11c6a828243273
parentb99d93822a1dc2366bd9d516fb887c861cec82b2
cpuidle: governors: Consolidate PM QoS handling

There is some code duplication related to the PM QoS handling between
the existing cpuidle governors, so move that code to a common helper
function and call that from the governors.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governor.c
drivers/cpuidle/governors/ladder.c
drivers/cpuidle/governors/menu.c
include/linux/cpuidle.h