Commit f8878dcb authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Greg Kroah-Hartman

Documentation: Tidy up some drivers/base/core.c kerneldoc content.

Standardize the indentation, and switch the order of a couple
kerneldoc entries to match the parameter order. No functional change.
Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9447057e
...@@ -1334,8 +1334,8 @@ const char *device_get_devnode(struct device *dev, ...@@ -1334,8 +1334,8 @@ const char *device_get_devnode(struct device *dev,
/** /**
* device_for_each_child - device child iterator. * device_for_each_child - device child iterator.
* @parent: parent struct device. * @parent: parent struct device.
* @data: data for the callback.
* @fn: function to be called for each device. * @fn: function to be called for each device.
* @data: data for the callback.
* *
* Iterate over @parent's child devices, and call @fn for each, * Iterate over @parent's child devices, and call @fn for each,
* passing it @data. * passing it @data.
...@@ -1363,8 +1363,8 @@ int device_for_each_child(struct device *parent, void *data, ...@@ -1363,8 +1363,8 @@ int device_for_each_child(struct device *parent, void *data,
/** /**
* device_find_child - device iterator for locating a particular device. * device_find_child - device iterator for locating a particular device.
* @parent: parent struct device * @parent: parent struct device
* @data: Data to pass to match function
* @match: Callback function to check device * @match: Callback function to check device
* @data: Data to pass to match function
* *
* This is similar to the device_for_each_child() function above, but it * This is similar to the device_for_each_child() function above, but it
* returns a reference to a device that is 'found' for later use, as * returns a reference to a device that is 'found' for later use, as
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment