Skip to content

Commit

Permalink
driver-core: fix kernel-doc parameter name
Browse files Browse the repository at this point in the history
Fix function parameter name in kernel-doc:

Warning(linux-next-20090120//drivers/base/core.c:1289): No description found for parameter 'dev'
Warning(linux-next-20090120//drivers/base/core.c:1289): Excess function parameter 'root' description in 'root_device_unregister'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed Jan 28, 2009
1 parent 6a1b699 commit 7cbcf22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ EXPORT_SYMBOL_GPL(__root_device_register);

/**
* root_device_unregister - unregister and free a root device
* @root: device going away.
* @dev: device going away
*
* This function unregisters and cleans up a device that was created by
* root_device_register().
Expand Down

0 comments on commit 7cbcf22

Please sign in to comment.