Skip to content

Commit fe940d7

Browse files
l1kgregkh
authored andcommitted
driver core: Drop mention of obsolete bus rwsem from kernel-doc
15 years ago, commit 6eded06 ("Fix up bus code and remove use of rwsem") removed the bus rwsem, but left over a reference to it in a kernel-doc comment. Drop it. Signed-off-by: Lukas Wunner <[email protected]> Link: https://lore.kernel.org/r/b1af31b0e351bcbc056fe1ec44500737a7998d43.1594210157.git.lukas@wunner.de Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c80a67b commit fe940d7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

drivers/base/dd.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,9 @@ static void driver_sysfs_remove(struct device *dev)
430430
* Allow manual attachment of a driver to a device.
431431
* Caller must have already set @dev->driver.
432432
*
433-
* Note that this does not modify the bus reference count
434-
* nor take the bus's rwsem. Please verify those are accounted
435-
* for before calling this. (It is ok to call with no other effort
436-
* from a driver's probe() method.)
433+
* Note that this does not modify the bus reference count.
434+
* Please verify that is accounted for before calling this.
435+
* (It is ok to call with no other effort from a driver's probe() method.)
437436
*
438437
* This function must be called with the device lock held.
439438
*/

0 commit comments

Comments
 (0)