diff options
author | Eric Biggers <ebiggers3@gmail.com> | 2016-02-20 21:50:01 -0600 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-02-22 13:56:41 +0100 |
commit | 63af4055726a56e04caf354aac58478d2af07ce8 (patch) | |
tree | 5ae56830577ef82f1b8764d2cf63b43055cef5cf /drivers/cpufreq/cpufreq.c | |
parent | 5bc8ac0f68284e3c05e0465afb59c62c996d9d8a (diff) | |
download | lwn-63af4055726a56e04caf354aac58478d2af07ce8.tar.gz lwn-63af4055726a56e04caf354aac58478d2af07ce8.zip |
cpufreq: fix comment about return value of cpufreq_register_driver()
The comment has been incorrect since commit 4dea5806d332
("cpufreq: return EEXIST instead of EBUSY for second registering").
Signed-off-by: Eric Biggers <ebiggers3@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 78a262f3d9ab..d84aff1593e4 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -2378,7 +2378,7 @@ EXPORT_SYMBOL_GPL(cpufreq_boost_enabled); * submitted by the CPU Frequency driver. * * Registers a CPU Frequency driver to this core code. This code - * returns zero on success, -EBUSY when another driver got here first + * returns zero on success, -EEXIST when another driver got here first * (and isn't unregistered in the meantime). * */ |