2023-01-03 16:52:06

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH trivial] mfd: core: Spelling s/compement/complement/

Fix a misspelling of "complement".

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
include/linux/mfd/core.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h
index 0bc7cba798a34a7b..2b138fa0abfc3e17 100644
--- a/include/linux/mfd/core.h
+++ b/include/linux/mfd/core.h
@@ -88,9 +88,9 @@ struct mfd_cell {
const char *of_compatible;

/*
- * Address as defined in Device Tree. Used to compement 'of_compatible'
- * (above) when matching OF nodes with devices that have identical
- * compatible strings
+ * Address as defined in Device Tree. Used to complement
+ * 'of_compatible' (above) when matching OF nodes with devices that
+ * have identical compatible strings
*/
const u64 of_reg;

--
2.25.1


2023-01-04 14:39:47

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH trivial] mfd: core: Spelling s/compement/complement/

On Tue, 03 Jan 2023, Geert Uytterhoeven wrote:

> Fix a misspelling of "complement".
>
> Signed-off-by: Geert Uytterhoeven <[email protected]>
> ---
> include/linux/mfd/core.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

Fine in general.

Would you mind resubmitting without the wrapping please?

If it passes checkpatch.pl, it's fine.

> diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h
> index 0bc7cba798a34a7b..2b138fa0abfc3e17 100644
> --- a/include/linux/mfd/core.h
> +++ b/include/linux/mfd/core.h
> @@ -88,9 +88,9 @@ struct mfd_cell {
> const char *of_compatible;
>
> /*
> - * Address as defined in Device Tree. Used to compement 'of_compatible'
> - * (above) when matching OF nodes with devices that have identical
> - * compatible strings
> + * Address as defined in Device Tree. Used to complement
> + * 'of_compatible' (above) when matching OF nodes with devices that
> + * have identical compatible strings
> */
> const u64 of_reg;
>
> --
> 2.25.1
>

--
Lee Jones [李琼斯]