cpuidle: add cpuidle_unregister_driver() error check
authorLen Brown <len.brown@intel.com>
Sat, 22 May 2010 20:34:10 +0000 (16:34 -0400)
committerLen Brown <len.brown@intel.com>
Thu, 27 May 2010 17:04:04 +0000 (13:04 -0400)
commitc0d64cb031c21f163a0ec15cf10844bcf0ceedcf
treece65dc6b8cbda91e8c1f1c69753265618e8d9ae6
parent6b2c676bf32be91f43215d5874c07c1becaba013
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>
drivers/cpuidle/driver.c