diff options
author | Xunlei Pang <pang.xunlei@linaro.org> | 2015-08-31 05:34:05 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-03 03:05:47 +0200 |
commit | abceaa9cded5f059f8c3b3b6f32730084fe5e39f (patch) | |
tree | 8f4cfa6f48e5ed6b6eee71ba4d2b7c334a705ba9 /drivers/clk/tegra/clk.h | |
parent | cpuidle/coupled: Remove redundant 'dev' argument of cpuidle_state_is_coupled() (diff) | |
download | linux-abceaa9cded5f059f8c3b3b6f32730084fe5e39f.tar.xz linux-abceaa9cded5f059f8c3b3b6f32730084fe5e39f.zip |
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/clk/tegra/clk.h')
0 files changed, 0 insertions, 0 deletions