2022-09-05 07:23:01

by Yi Jiangshan

[permalink] [raw]
Subject: [PATCH] pinctrl: berlin: fix spelling typo in comment

From: Jiangshan Yi <[email protected]>

Fix spelling typo in comment.

Reported-by: k2ci <[email protected]>
Signed-off-by: Jiangshan Yi <[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


No virus found
Checked by Hillstone Network AntiVirus


2022-09-05 12:28:18

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: berlin: fix spelling typo in comment

On Mon, Sep 5, 2022 at 9:13 AM Jiangshan Yi <[email protected]> wrote:

> From: Jiangshan Yi <[email protected]>
>
> Fix spelling typo in comment.
>
> Reported-by: k2ci <[email protected]>
> Signed-off-by: Jiangshan Yi <[email protected]>

Patch applied.

Yours,
Linus Walleij