diff options
author | Xunlei Pang <pang.xunlei@linaro.org> | 2015-08-31 11:34:05 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-03 03:05:47 +0200 |
commit | abceaa9cded5f059f8c3b3b6f32730084fe5e39f (patch) | |
tree | 8f4cfa6f48e5ed6b6eee71ba4d2b7c334a705ba9 /drivers/staging | |
parent | 4c1ed5a6079078699128064664913ae7b079648f (diff) |
cpuidle/coupled: Add sanity check for safe_state_index
Since we are using cpuidle_driver::safe_state_index directly as the
target state index, it is better to add the sanity check at the point
of registering the driver.
Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions