]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/base/core.c
driver core: Silence device links sphinx warning
[mirror_ubuntu-bionic-kernel.git] / drivers / base / core.c
index b8b2f61054763f3128b448f6e7e25110b109c3c6..020ea7f0552073c62c91e55d62e0c0151917251e 100644 (file)
@@ -172,7 +172,7 @@ static int device_reorder_to_tail(struct device *dev, void *not_used)
  *
  * The supplier device is required to be registered when this function is called
  * and NULL will be returned if that is not the case.  The consumer device need
- * not be registerd, however.
+ * not be registered, however.
  */
 struct device_link *device_link_add(struct device *consumer,
                                    struct device *supplier, u32 flags)
@@ -225,7 +225,7 @@ struct device_link *device_link_add(struct device *consumer,
        INIT_LIST_HEAD(&link->c_node);
        link->flags = flags;
 
-       /* Deterine the initial link state. */
+       /* Determine the initial link state. */
        if (flags & DL_FLAG_STATELESS) {
                link->status = DL_STATE_NONE;
        } else {