From: Rafael J. Wysocki Date: Fri, 25 Oct 2013 14:22:47 +0000 (+0200) Subject: acpi-cpufreq: Fail initialization if driver cannot be registered X-Git-Tag: v3.12-rc7~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75c0758137c7ac647927b4b12bb5cfca96a0e4e6;p=pandora-kernel.git acpi-cpufreq: Fail initialization if driver cannot be registered Make acpi_cpufreq_init() return error codes when the driver cannot be registered so that the module doesn't stay useless in memory and so that acpi_cpufreq_exit() doesn't attempt to unregister things that have never been registered when the module is unloaded. Signed-off-by: Rafael J. Wysocki Acked-by: Viresh Kumar --- Reading git-diff-tree failed