diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2005-10-23 14:59:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 12:52:56 -0400 |
commit | c41455fbac06712992da491844449775cf9a8c80 (patch) | |
tree | cb315b4afd3af2882e955dbfbf7f3828a8b2e610 /drivers/base | |
parent | 9480e307cd88ef09ec9294c7d97ebec18e6d2221 (diff) |
[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')
-rw-r--r-- | drivers/base/core.c | 4 | ||||
-rw-r--r-- | drivers/base/driver.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index ac4b5fdd95f5..8615b42b517a 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c | |||
@@ -407,11 +407,11 @@ static struct device * next_device(struct klist_iter * i) | |||
407 | 407 | ||
408 | /** | 408 | /** |
409 | * device_for_each_child - device child iterator. | 409 | * device_for_each_child - device child iterator. |
410 | * @dev: parent struct device. | 410 | * @parent: parent struct device. |
411 | * @data: data for the callback. | 411 | * @data: data for the callback. |
412 | * @fn: function to be called for each device. | 412 | * @fn: function to be called for each device. |
413 | * | 413 | * |
414 | * Iterate over @dev's child devices, and call @fn for each, | 414 | * Iterate over @parent's child devices, and call @fn for each, |
415 | * passing it @data. | 415 | * passing it @data. |
416 | * | 416 | * |
417 | * We check the return of @fn each time. If it returns anything | 417 | * We check the return of @fn each time. If it returns anything |
diff --git a/drivers/base/driver.c b/drivers/base/driver.c index ef3fe513e398..161f3a390d90 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c | |||
@@ -28,6 +28,7 @@ static struct device * next_device(struct klist_iter * i) | |||
28 | /** | 28 | /** |
29 | * driver_for_each_device - Iterator for devices bound to a driver. | 29 | * driver_for_each_device - Iterator for devices bound to a driver. |
30 | * @drv: Driver we're iterating. | 30 | * @drv: Driver we're iterating. |
31 | * @start: Device to begin with | ||
31 | * @data: Data to pass to the callback. | 32 | * @data: Data to pass to the callback. |
32 | * @fn: Function to call for each device. | 33 | * @fn: Function to call for each device. |
33 | * | 34 | * |
@@ -57,7 +58,7 @@ EXPORT_SYMBOL_GPL(driver_for_each_device); | |||
57 | 58 | ||
58 | /** | 59 | /** |
59 | * driver_find_device - device iterator for locating a particular device. | 60 | * driver_find_device - device iterator for locating a particular device. |
60 | * @driver: The device's driver | 61 | * @drv: The device's driver |
61 | * @start: Device to begin with | 62 | * @start: Device to begin with |
62 | * @data: Data to pass to match function | 63 | * @data: Data to pass to match function |
63 | * @match: Callback function to check device | 64 | * @match: Callback function to check device |