diff mbox series

[ARM] orion5x: fix typos in comments

Message ID 20220318103729.157574-3-Julia.Lawall@inria.fr (mailing list archive)
State New, archived
Headers show
Series [ARM] orion5x: fix typos in comments | expand

Commit Message

Julia Lawall March 18, 2022, 10:36 a.m. UTC
Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 arch/arm/mach-orion5x/dns323-setup.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Gregory CLEMENT May 9, 2022, 8:37 a.m. UTC | #1
Julia Lawall <Julia.Lawall@inria.fr> writes:

> Various spelling mistakes in comments.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

Applied on mvebu/arm

Thanks,

Gregory
>
> ---
>  arch/arm/mach-orion5x/dns323-setup.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-orion5x/dns323-setup.c b/arch/arm/mach-orion5x/dns323-setup.c
> index 87cb47220e82..d69259b6b60d 100644
> --- a/arch/arm/mach-orion5x/dns323-setup.c
> +++ b/arch/arm/mach-orion5x/dns323-setup.c
> @@ -696,12 +696,12 @@ static void __init dns323_init(void)
>  			pr_err("DNS-323: failed to setup power-off GPIO\n");
>  		pm_power_off = dns323c_power_off;
>  
> -		/* Now, -this- should theorically be done by the sata_mv driver
> +		/* Now, -this- should theoretically be done by the sata_mv driver
>  		 * once I figure out what's going on there. Maybe the behaviour
>  		 * of the LEDs should be somewhat passed via the platform_data.
>  		 * for now, just whack the register and make the LEDs happy
>  		 *
> -		 * Note: AFAIK, rev B1 needs the same treatement but I'll let
> +		 * Note: AFAIK, rev B1 needs the same treatment but I'll let
>  		 * somebody else test it.
>  		 */
>  		writel(0x5, ORION5X_SATA_VIRT_BASE + 0x2c);
>
diff mbox series

Patch

diff --git a/arch/arm/mach-orion5x/dns323-setup.c b/arch/arm/mach-orion5x/dns323-setup.c
index 87cb47220e82..d69259b6b60d 100644
--- a/arch/arm/mach-orion5x/dns323-setup.c
+++ b/arch/arm/mach-orion5x/dns323-setup.c
@@ -696,12 +696,12 @@  static void __init dns323_init(void)
 			pr_err("DNS-323: failed to setup power-off GPIO\n");
 		pm_power_off = dns323c_power_off;
 
-		/* Now, -this- should theorically be done by the sata_mv driver
+		/* Now, -this- should theoretically be done by the sata_mv driver
 		 * once I figure out what's going on there. Maybe the behaviour
 		 * of the LEDs should be somewhat passed via the platform_data.
 		 * for now, just whack the register and make the LEDs happy
 		 *
-		 * Note: AFAIK, rev B1 needs the same treatement but I'll let
+		 * Note: AFAIK, rev B1 needs the same treatment but I'll let
 		 * somebody else test it.
 		 */
 		writel(0x5, ORION5X_SATA_VIRT_BASE + 0x2c);