diff mbox series

[4/4] GPIO: creg-snps: fixed a typo

Message ID 20200118200607.68830-1-sachinagarwal@sachins-MacBook-2.local
State New
Headers show
Series None | expand

Commit Message

sachin agarwal Jan. 18, 2020, 8:06 p.m. UTC
we had written "valiue" rather than "value" and "it's" rather than "its".

Signed-off-by: Sachin Agarwal <asachin591@gmail.com>
---
 drivers/gpio/gpio-creg-snps.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Bartosz Golaszewski Jan. 29, 2020, 2:52 p.m. UTC | #1
sob., 18 sty 2020 o 21:06 sachin agarwal <asachin591@gmail.com> napisaƂ(a):
>
> we had written "valiue" rather than "value" and "it's" rather than "its".
>
> Signed-off-by: Sachin Agarwal <asachin591@gmail.com>
> ---
>  drivers/gpio/gpio-creg-snps.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpio/gpio-creg-snps.c b/drivers/gpio/gpio-creg-snps.c
> index ff19a8ad5663..1d0827e79703 100644
> --- a/drivers/gpio/gpio-creg-snps.c
> +++ b/drivers/gpio/gpio-creg-snps.c
> @@ -64,11 +64,11 @@ static int creg_gpio_validate_pg(struct device *dev, struct creg_gpio *hcg,
>         if (layout->bit_per_gpio[i] < 1 || layout->bit_per_gpio[i] > 8)
>                 return -EINVAL;
>
> -       /* Check that on valiue fits it's placeholder */
> +       /* Check that on value fits its placeholder */
>         if (GENMASK(31, layout->bit_per_gpio[i]) & layout->on[i])
>                 return -EINVAL;
>
> -       /* Check that off valiue fits it's placeholder */
> +       /* Check that off value fits its placeholder */
>         if (GENMASK(31, layout->bit_per_gpio[i]) & layout->off[i])
>                 return -EINVAL;
>
> --
> 2.24.1
>

The subject should be 'gpio: <driver name: ...' and this looks like a
new version of the series, so please mark it as such and describe the
differences between versions.

Please refer to Documentation/process/development-process.rst on how
to submit patches.

Bartosz
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-creg-snps.c b/drivers/gpio/gpio-creg-snps.c
index ff19a8ad5663..1d0827e79703 100644
--- a/drivers/gpio/gpio-creg-snps.c
+++ b/drivers/gpio/gpio-creg-snps.c
@@ -64,11 +64,11 @@  static int creg_gpio_validate_pg(struct device *dev, struct creg_gpio *hcg,
 	if (layout->bit_per_gpio[i] < 1 || layout->bit_per_gpio[i] > 8)
 		return -EINVAL;
 
-	/* Check that on valiue fits it's placeholder */
+	/* Check that on value fits its placeholder */
 	if (GENMASK(31, layout->bit_per_gpio[i]) & layout->on[i])
 		return -EINVAL;
 
-	/* Check that off valiue fits it's placeholder */
+	/* Check that off value fits its placeholder */
 	if (GENMASK(31, layout->bit_per_gpio[i]) & layout->off[i])
 		return -EINVAL;