summaryrefslogtreecommitdiffstats
path: root/drivers/base/dd.c
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2020-07-08 14:12:22 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-10 15:13:43 +0200
commitfe940d7362e6d7a5e5086581d0462e00ba766992 (patch)
tree415bbefae1502368cb8659c889fc72d1232c38c0 /drivers/base/dd.c
parentc80a67bd5d13e691f730115615885736acc5f1a7 (diff)
downloadlinux-stable-fe940d7362e6d7a5e5086581d0462e00ba766992.tar.gz
linux-stable-fe940d7362e6d7a5e5086581d0462e00ba766992.tar.bz2
linux-stable-fe940d7362e6d7a5e5086581d0462e00ba766992.zip
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>
Diffstat (limited to 'drivers/base/dd.c')
-rw-r--r--drivers/base/dd.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index 9a1d940342ac..2aef1e4ce60a 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -430,10 +430,9 @@ static void driver_sysfs_remove(struct device *dev)
* Allow manual attachment of a driver to a device.
* Caller must have already set @dev->driver.
*
- * Note that this does not modify the bus reference count
- * nor take the bus's rwsem. Please verify those are accounted
- * for before calling this. (It is ok to call with no other effort
- * from a driver's probe() method.)
+ * Note that this does not modify the bus reference count.
+ * Please verify that is accounted for before calling this.
+ * (It is ok to call with no other effort from a driver's probe() method.)
*
* This function must be called with the device lock held.
*/