]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
cpufreq: fix comment about return value of cpufreq_register_driver()
authorEric Biggers <ebiggers3@gmail.com>
Sun, 21 Feb 2016 03:50:01 +0000 (21:50 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Feb 2016 12:56:41 +0000 (13:56 +0100)
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>
drivers/cpufreq/cpufreq.c

index 78a262f3d9ab5c9381a2944b7039f3148835a5a7..d84aff1593e4bb595f5236871863fb532c38a92c 100644 (file)
@@ -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).
  *
  */