Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

driver core: Drop mention of obsolete bus rwsem from kernel-doc

15 years ago, commit 6eded061b126 ("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 <lukas@wunner.de>
Link: https://lore.kernel.org/r/b1af31b0e351bcbc056fe1ec44500737a7998d43.1594210157.git.lukas@wunner.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lukas Wunner and committed by
Greg Kroah-Hartman
fe940d73 c80a67bd

+3 -4
+3 -4
drivers/base/dd.c
··· 430 430 * Allow manual attachment of a driver to a device. 431 431 * Caller must have already set @dev->driver. 432 432 * 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.) 437 436 * 438 437 * This function must be called with the device lock held. 439 438 */