driver-core: fix kernel-doc function parameters
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 18 Feb 2008 21:09:03 +0000 (13:09 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:27:07 +0000 (15:27 -0800)
Fix drivers/base/ missing kernel-doc parameters:
Warning(linux-2.6.24-git12//drivers/base/driver.c:133): No description found for parameter 'drv'
Warning(linux-2.6.24-git12//drivers/base/driver.c:133): No description found for parameter 'kobj'
Warning(linux-2.6.24-git12//drivers/base/driver.c:133): No description found for parameter 'fmt'
Warning(linux-2.6.24-git12//drivers/base/power/main.c:530): No description found for parameter 'state'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/driver.c
drivers/base/power/main.c

index ba75184c653c32794e3ac60283369a1bd39ea461..bf31a0170a486b08dd61827fa1baef4f58c8df7c 100644 (file)
@@ -120,6 +120,9 @@ EXPORT_SYMBOL_GPL(driver_remove_file);
 
 /**
  * driver_add_kobj - add a kobject below the specified driver
+ * @drv: requesting device driver
+ * @kobj: kobject to add below this driver
+ * @fmt: format string that names the kobject
  *
  * You really don't want to do this, this is only here due to one looney
  * iseries driver, go poke those developers if you are annoyed about
index bdc03f7e8424ceda39d454413a76d637a9215418..d6095608465a6f4e88f8eeece4beacdb6e05134f 100644 (file)
@@ -523,6 +523,7 @@ static void lock_all_devices(void)
 
 /**
  *     device_suspend - Save state and stop all devices in system.
+ *     @state: new power management state
  *
  *     Prevent new devices from being registered, then lock all devices
  *     and suspend them.