2022-09-07 03:03:13

by Deming Wang

[permalink] [raw]
Subject: [PATCH] pinctrl: Fix spelling typo in comment.

fix the world maxiumum to maximum.

Signed-off-by: Deming Wang <[email protected]>
---
drivers/pinctrl/berlin/berlin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/berlin/berlin.c b/drivers/pinctrl/berlin/berlin.c
index a073eedd71aa..1e427ea4d31b 100644
--- a/drivers/pinctrl/berlin/berlin.c
+++ b/drivers/pinctrl/berlin/berlin.c
@@ -209,7 +209,7 @@ static int berlin_pinctrl_build_state(struct platform_device *pdev)

for (i = 0; i < pctrl->desc->ngroups; i++) {
desc_group = pctrl->desc->groups + i;
- /* compute the maxiumum number of functions a group can have */
+ /* compute the maximum number of functions a group can have */
max_functions += 1 << (desc_group->bit_width + 1);
}

--
2.27.0


2022-09-08 09:34:18

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: Fix spelling typo in comment.

On Wed, Sep 7, 2022 at 4:12 AM Deming Wang <[email protected]> wrote:

> fix the world maxiumum to maximum.
>
> Signed-off-by: Deming Wang <[email protected]>

This is already fixed upstream.
Thanks anyway!

Yours,
Linus Walleij