diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-03-26 14:51:26 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-03-30 01:55:04 -0400 |
commit | fc850f39ea54c760ce438a601cfea8ab80c4898e (patch) | |
tree | 3f413ea8c13cc12f7f6af16bc198a17914695f1b /include/linux/cpuidle.h | |
parent | 3a53396b0381ec9d5180fd8fe7a681c8ce95fd9a (diff) | |
download | linux-fc850f39ea54c760ce438a601cfea8ab80c4898e.tar.gz linux-fc850f39ea54c760ce438a601cfea8ab80c4898e.tar.bz2 linux-fc850f39ea54c760ce438a601cfea8ab80c4898e.zip |
cpuidle: use the driver's state_count as default
If the state_count is not initialized for the device use
the driver's state count as the default. That will prevent
to add it manually in the cpuidle driver initialization
routine and will save us from duplicate line of code.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/cpuidle.h')
0 files changed, 0 insertions, 0 deletions