diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2012-01-10 06:59:49 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-12 03:49:43 +0400 |
commit | 024f78462c3da710642a54939888a92e28704653 (patch) | |
tree | 6ff97e571b36d66256d09cf06031b56ce789ec7e /arch | |
parent | 4f58cb90bcb04cfe18f524d1c9a65edef5eb3f51 (diff) | |
download | linux-024f78462c3da710642a54939888a92e28704653.tar.xz |
cpu: Do not return errors from cpu_dev_init() which will be ignored
cpu_dev_init() is only called from driver_init(), which does not check
its return value. Therefore make cpu_dev_init() return void.
We must register the CPU subsystem, so panic if this fails.
If sched_create_sysfs_power_savings_entries() fails, the damage is
contained, so ignore this (as before).
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions