commit | abceaa9cded5f059f8c3b3b6f32730084fe5e39f | [log] [tgz] |
---|---|---|
author | Xunlei Pang <pang.xunlei@linaro.org> | Mon Aug 31 11:34:05 2015 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Sep 03 03:05:47 2015 +0200 |
tree | 8f4cfa6f48e5ed6b6eee71ba4d2b7c334a705ba9 | |
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>