Skip to content

Commit 451fd6e

Browse files
JuliaLawallgregkh
authored andcommitted
devres: fix typos in comments
Various spelling mistakes in comments. Detected with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Link: https://lore.kernel.org/r/20220314115354.144023-19-Julia.Lawall@inria.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 615f3ee commit 451fd6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/base/devres.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ EXPORT_SYMBOL_GPL(devres_release_group);
692692

693693
/*
694694
* Custom devres actions allow inserting a simple function call
695-
* into the teadown sequence.
695+
* into the teardown sequence.
696696
*/
697697

698698
struct action_devres {
@@ -916,7 +916,7 @@ void *devm_krealloc(struct device *dev, void *ptr, size_t new_size, gfp_t gfp)
916916

917917
/*
918918
* We can copy the memory contents after releasing the lock as we're
919-
* no longer modyfing the list links.
919+
* no longer modifying the list links.
920920
*/
921921
memcpy(new_dr->data, old_dr->data,
922922
total_old_size - offsetof(struct devres, data));

0 commit comments

Comments
 (0)