summaryrefslogtreecommitdiff
path: root/block/Makefile
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2013-06-12 13:08:49 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-07-15 00:09:47 (GMT)
commit10b9d3f8a4d5c82bff5b232a0063669dc0e0d725 (patch)
treeb92be09e1776a85c6907b7495988c31c7c13865b /block/Makefile
parent137b944e100278d696826cf25c83014ac17473fe (diff)
downloadlinux-fsl-qoriq-10b9d3f8a4d5c82bff5b232a0063669dc0e0d725.tar.xz
cpuidle: Check cpuidle_enable_device() return value
We previously changed the ordering of the cpuidle framework initialization so that the governors are registered before the drivers which can register their devices right from the start. Now, we can safely remove the __cpuidle_register_device() call hack in cpuidle_enable_device() and check if the driver has been registered before enabling it. Then, cpuidle_register_device() can consistently check the cpuidle_enable_device() return value when enabling the device. [rjw: Changelog] Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'block/Makefile')
0 files changed, 0 insertions, 0 deletions