summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/cpuidle.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2010-05-22 22:34:10 +0200
committerLen Brown <len.brown@intel.com>2010-05-27 19:04:04 +0200
commitc0d64cb031c21f163a0ec15cf10844bcf0ceedcf (patch)
treece65dc6b8cbda91e8c1f1c69753265618e8d9ae6 /drivers/cpuidle/cpuidle.c
parentcpuidle: fail to register if !CONFIG_CPU_IDLE (diff)
downloadlinux-c0d64cb031c21f163a0ec15cf10844bcf0ceedcf.tar.xz
linux-c0d64cb031c21f163a0ec15cf10844bcf0ceedcf.zip
cpuidle: add cpuidle_unregister_driver() error check
Assure that cpuidle_unregister_driver() will not clobber the registered driver if unregistered by somebody else. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle.c')
0 files changed, 0 insertions, 0 deletions