https://github.com/torvalds/linux
Revision 75c0758137c7ac647927b4b12bb5cfca96a0e4e6 authored by Rafael J. Wysocki on 25 October 2013, 14:22:47 UTC, committed by Rafael J. Wysocki on 25 October 2013, 14:22:47 UTC
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 <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
1 parent d3c345d
History
Tip revision: 75c0758137c7ac647927b4b12bb5cfca96a0e4e6 authored by Rafael J. Wysocki on 25 October 2013, 14:22:47 UTC
acpi-cpufreq: Fail initialization if driver cannot be registered
Tip revision: 75c0758
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.0 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 257.6 KB
Makefile -rw-r--r-- 47.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top