Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10581
b: refs/heads/master
c: c41455f
h: refs/heads/master
i:
  10579: 454315d
v: v3
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent 82fb271 commit 1e01a88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9480e307cd88ef09ec9294c7d97ebec18e6d2221
refs/heads/master: c41455fbac06712992da491844449775cf9a8c80
4 changes: 2 additions & 2 deletions trunk/drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/base/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ static struct device * next_device(struct klist_iter * i)
/**
* driver_for_each_device - Iterator for devices bound to a driver.
* @drv: Driver we're iterating.
* @start: Device to begin with
* @data: Data to pass to the callback.
* @fn: Function to call for each device.
*
Expand Down Expand Up @@ -57,7 +58,7 @@ EXPORT_SYMBOL_GPL(driver_for_each_device);

/**
* driver_find_device - device iterator for locating a particular device.
* @driver: The device's driver
* @drv: The device's driver
* @start: Device to begin with
* @data: Data to pass to match function
* @match: Callback function to check device
Expand Down

0 comments on commit 1e01a88

Please sign in to comment.