commit | c878a52d3c7cabab5b24460825c24eafd8be7058 | [log] [tgz] |
---|---|---|
author | Daniel Lezcano <daniel.lezcano@linaro.org> | Wed Jun 12 15:08:55 2013 +0200 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jul 15 02:09:48 2013 +0200 |
tree | 98c5e7c8599b62deac5559dc08fef9174173a39e | |
parent | 5df0aa7341bd94ca2023a60c64c63faeb6ec209d [diff] |
cpuidle: Check if device is already registered Make __cpuidle_register_device() check whether or not the device has been registered already and return -EBUSY immediately if that's the case. [rjw: Changelog] Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>