diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2013-06-01 20:17:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-03 17:00:49 -0400 |
commit | f8878dcb84f7eb85b11c6be9d7d2581a88675615 (patch) | |
tree | 98b3d8e08cb2c72a8ffdf95c1bbda49db02b2b1c | |
parent | 9447057eaff871dd7c63c808de761b8732407169 (diff) |
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: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/base/core.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index 0dbe02b3ce9d..6fdc53d46fa0 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c | |||
@@ -193,12 +193,12 @@ ssize_t device_show_bool(struct device *dev, struct device_attribute *attr, | |||
193 | EXPORT_SYMBOL_GPL(device_show_bool); | 193 | EXPORT_SYMBOL_GPL(device_show_bool); |
194 | 194 | ||
195 | /** | 195 | /** |
196 | * device_release - free device structure. | 196 | * device_release - free device structure. |
197 | * @kobj: device's kobject. | 197 | * @kobj: device's kobject. |
198 | * | 198 | * |
199 | * This is called once the reference count for the object | 199 | * This is called once the reference count for the object |
200 | * reaches 0. We forward the call to the device's release | 200 | * reaches 0. We forward the call to the device's release |
201 | * method, which should handle actually freeing the structure. | 201 | * method, which should handle actually freeing the structure. |
202 | */ | 202 | */ |
203 | static void device_release(struct kobject *kobj) | 203 | static void device_release(struct kobject *kobj) |
204 | { | 204 | { |
@@ -1334,8 +1334,8 @@ const char *device_get_devnode(struct device *dev, | |||
1334 | /** | 1334 | /** |
1335 | * device_for_each_child - device child iterator. | 1335 | * device_for_each_child - device child iterator. |
1336 | * @parent: parent struct device. | 1336 | * @parent: parent struct device. |
1337 | * @data: data for the callback. | ||
1338 | * @fn: function to be called for each device. | 1337 | * @fn: function to be called for each device. |
1338 | * @data: data for the callback. | ||
1339 | * | 1339 | * |
1340 | * Iterate over @parent's child devices, and call @fn for each, | 1340 | * Iterate over @parent's child devices, and call @fn for each, |
1341 | * passing it @data. | 1341 | * passing it @data. |
@@ -1363,8 +1363,8 @@ int device_for_each_child(struct device *parent, void *data, | |||
1363 | /** | 1363 | /** |
1364 | * device_find_child - device iterator for locating a particular device. | 1364 | * device_find_child - device iterator for locating a particular device. |
1365 | * @parent: parent struct device | 1365 | * @parent: parent struct device |
1366 | * @data: Data to pass to match function | ||
1367 | * @match: Callback function to check device | 1366 | * @match: Callback function to check device |
1367 | * @data: Data to pass to match function | ||
1368 | * | 1368 | * |
1369 | * This is similar to the device_for_each_child() function above, but it | 1369 | * This is similar to the device_for_each_child() function above, but it |
1370 | * returns a reference to a device that is 'found' for later use, as | 1370 | * returns a reference to a device that is 'found' for later use, as |