summaryrefslogtreecommitdiffstats
path: root/drivers/base/core.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2005-10-23 11:59:14 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 09:52:56 -0700
commitc41455fbac06712992da491844449775cf9a8c80 (patch)
treecb315b4afd3af2882e955dbfbf7f3828a8b2e610 /drivers/base/core.c
parent9480e307cd88ef09ec9294c7d97ebec18e6d2221 (diff)
downloadop-kernel-dev-c41455fbac06712992da491844449775cf9a8c80.zip
op-kernel-dev-c41455fbac06712992da491844449775cf9a8c80.tar.gz
[PATCH] kernel-doc: drivers/base fixes
driver/base: add missing function parameters; eliminate all warnings. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/core.c')
-rw-r--r--drivers/base/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index ac4b5fd..8615b42 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -407,11 +407,11 @@ static struct device * next_device(struct klist_iter * i)
/**
* device_for_each_child - device child iterator.
- * @dev: parent struct device.
+ * @parent: parent struct device.
* @data: data for the callback.
* @fn: function to be called for each device.
*
- * Iterate over @dev's child devices, and call @fn for each,
+ * Iterate over @parent's child devices, and call @fn for each,
* passing it @data.
*
* We check the return of @fn each time. If it returns anything
OpenPOWER on IntegriCloud