aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/core.c
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2016-12-04 13:10:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-12-05 15:02:20 +0100
commit64df1148876e35e81e91195e01c8197edc66fcc5 (patch)
tree5a2bf9917660cb4b31705e449bc947e7ed91cf35 /drivers/base/core.c
parent88bcef508f230c05deaa6e51ddf90ccae15a2824 (diff)
driver core: Silence device links sphinx warning
Silence this warning emitted by sphinx: include/linux/device.h:938: warning: No description found for parameter 'links' While at it, fix typos in comments of device links code. Cc: Rafael J. Wysocki <rafael@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Silvio Fricke <silvio.fricke@gmail.com> Signed-off-by: Lukas Wunner <lukas@wunner.de> Reviewed-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/core.c')
-rw-r--r--drivers/base/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index b8b2f6105476..020ea7f05520 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -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 {

Privacy Policy