diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-01 00:13:47 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-01 00:13:47 +0200 |
commit | 52c324f8a87b336496d0f5e9d8dff1aa32bb08cd (patch) | |
tree | 5d359e67396365456f73496344e57bd2976d1c8c /drivers/cpuidle/governors | |
parent | d1db0eea852497762cab43b905b879dfcd3b8987 (diff) | |
download | linux-52c324f8a87b336496d0f5e9d8dff1aa32bb08cd.tar.gz linux-52c324f8a87b336496d0f5e9d8dff1aa32bb08cd.tar.bz2 linux-52c324f8a87b336496d0f5e9d8dff1aa32bb08cd.zip |
cpuidle: Combine cpuidle_enabled() with cpuidle_select()
Since both cpuidle_enabled() and cpuidle_select() are only called by
cpuidle_idle_call(), it is not really useful to keep them separate
and combining them will help to avoid complicating cpuidle_idle_call()
even further if governors are changed to return error codes sometimes.
This code modification shouldn't lead to any functional changes.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/governors')
0 files changed, 0 insertions, 0 deletions