From: Ben Hutchings Date: Tue, 10 Jan 2012 02:59:49 +0000 (+0000) Subject: cpu: Do not return errors from cpu_dev_init() which will be ignored X-Git-Tag: v3.3-rc1~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=024f78462c3da710642a54939888a92e28704653;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed