Skip to content

Commit

Permalink
driver-core: fix kernel-doc function parameters
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
rddunlap authored and gregkh committed Feb 21, 2008
1 parent 7ab4705 commit 7199677
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/base/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions drivers/base/power/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7199677

Please sign in to comment.