summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-01-21 01:29:13 +0100
committerGreg Kroah-Hartman <gregkh@kvm.kroah.org>2009-01-29 00:55:48 +0100
commit7cbcf22548df1f1df7c6b0d0bda579b92efca63c (patch)
tree6b1a1e751114bf441e4357044d08ac940a62bb72
parentUIO: Add missing documentation of features added recently (diff)
downloadlinux-7cbcf22548df1f1df7c6b0d0bda579b92efca63c.tar.xz
linux-7cbcf22548df1f1df7c6b0d0bda579b92efca63c.zip
driver-core: fix kernel-doc parameter name
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>
-rw-r--r--drivers/base/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 55e530942ab0..f3eae630e589 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -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().