cpufreq: fix comment about return value of cpufreq_register_driver()
PATCH 1/1 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 <[email protected]>
--- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/cpufreq.c +1 -1
@@ -2384,7 +2384,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). * */
Signature · 1 line
2.7.1
Quoted 13 lines · Eric Biggers
The comment has been incorrect since commit
4dea5806d332("cpufreq: return EEXIST instead of EBUSY for second registering").Signed-off-by Eric Biggers <[email protected]>--- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/cpufreq/cpufreq.c +0
-0
drivers/cpufreq/cpufreq.c EXPORT_SYMBOL_GPL(cpufreq_boost_enabled); · line 2390
Quoted 8 lines
drivers/cpufreq/cpufreq.c +1
-1@@ -2384,7 +2384,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). * */
Acked-by Viresh Kumar <[email protected]>
Signature · 1 line
viresh
Rafael J. Wysocki
AppliedQuoted 9 lines · Viresh Kumar
Quoted 8 lines · Eric Biggers
The comment has been incorrect since commit
4dea5806d332("cpufreq: return EEXIST instead of EBUSY for second registering").Signed-off-by Eric Biggers <[email protected]>--- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
drivers/cpufreq/cpufreq.c EXPORT_SYMBOL_GPL(cpufreq_boost_enabled); · line 2390
Quoted 13 lines
drivers/cpufreq/cpufreq.c +1
-1@@ -2384,7 +2384,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). * */ Acked-by Viresh Kumar <[email protected]>
Queued up for 4.6, thanks!