mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
cpufreq: fix comment about return value of cpufreq_register_driver()
The comment has been incorrect since commit 4dea5806d3
("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>
This commit is contained in:
parent
5bc8ac0f68
commit
63af405572
@ -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).
|
||||
*
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user