OSDN Git Service

driver core: cleanup double words comments
authorTom Rix <trix@redhat.com>
Sat, 12 Feb 2022 14:32:33 +0000 (06:32 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Feb 2022 07:16:05 +0000 (08:16 +0100)
Remove the second 'are' and 'the'.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220212143233.2648872-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dd.c

index 9eaaff2..1a4113b 100644 (file)
@@ -835,7 +835,7 @@ struct device_attach_data {
        struct device *dev;
 
        /*
-        * Indicates whether we are are considering asynchronous probing or
+        * Indicates whether we are considering asynchronous probing or
         * not. Only initial binding after device or driver registration
         * (including deferral processing) may be done asynchronously, the
         * rest is always synchronous, as we expect it is being done by
@@ -1039,7 +1039,7 @@ static void __device_driver_lock(struct device *dev, struct device *parent)
  * @parent: Parent device. Needed if the bus requires parent lock
  *
  * This function will release the required locks for manipulating dev->drv.
- * Normally this will just be the the @dev lock, but when called for a
+ * Normally this will just be the @dev lock, but when called for a
  * USB interface, @parent lock will be released as well.
  */
 static void __device_driver_unlock(struct device *dev, struct device *parent)