Skip to content

Commit

Permalink
cpufreq: fix comment about return value of cpufreq_register_driver()
Browse files Browse the repository at this point in the history
The comment has been incorrect since commit 4dea580
("cpufreq: return EEXIST instead of EBUSY for second registering").

Signed-off-by: Eric Biggers <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
ebiggers authored and rafaeljw committed Feb 22, 2016
1 parent 5bc8ac0 commit 63af405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cpufreq/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*
*/
Expand Down

0 comments on commit 63af405

Please sign in to comment.