summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/coupled.c
diff options
context:
space:
mode:
authorSudeep Holla <Sudeep.Holla@arm.com>2018-06-18 16:34:22 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-06-25 09:33:34 +0200
commit818489e511a3a38d4c9c120675e0700608925800 (patch)
tree095fdbd8f97d1586e4b51c7ba9d27c715b3705e1 /drivers/cpuidle/coupled.c
parentLinux 4.18-rc2 (diff)
downloadlinux-818489e511a3a38d4c9c120675e0700608925800.tar.xz
linux-818489e511a3a38d4c9c120675e0700608925800.zip
ARM: cpuidle: silence error on driver registration failure
It's perfectly fine to have multiple cpuidle driver compiled in the build configuration. However, it's not good to throw error on driver registration failure if some other driver is already initialised and assigned. In such cases, __cpuidle_register_driver returns -EBUSY and we can check for such error before throwing the error. Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/coupled.c')
0 files changed, 0 insertions, 0 deletions