[PATCH] ARM: mmp: fix typos in comments

From: Julia Lawall
Date: Fri Mar 18 2022 - 06:37:52 EST


Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxxx>

---
arch/arm/mach-mmp/gplugd.c | 2 +-
arch/arm/mach-mmp/pxa168.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-mmp/gplugd.c b/arch/arm/mach-mmp/gplugd.c
index 5888b71944b8..ead674015b55 100644
--- a/arch/arm/mach-mmp/gplugd.c
+++ b/arch/arm/mach-mmp/gplugd.c
@@ -154,7 +154,7 @@ static int gplugd_eth_init(void)
struct pxa168_eth_platform_data gplugd_eth_platform_data = {
.port_number = 0,
.phy_addr = 0,
- .speed = 0, /* Autonagotiation */
+ .speed = 0, /* Autonegotiation */
.intf = PHY_INTERFACE_MODE_RMII,
.init = gplugd_eth_init,
};
diff --git a/arch/arm/mach-mmp/pxa168.c b/arch/arm/mach-mmp/pxa168.c
index 1e9389245d0e..97e6c3b2bd31 100644
--- a/arch/arm/mach-mmp/pxa168.c
+++ b/arch/arm/mach-mmp/pxa168.c
@@ -129,7 +129,7 @@ struct platform_device pxa168_device_gpio = {
};

struct resource pxa168_usb_host_resources[] = {
- /* USB Host conroller register base */
+ /* USB Host controller register base */
[0] = {
.start = PXA168_U2H_REGBASE + U2x_CAPREGS_OFFSET,
.end = PXA168_U2H_REGBASE + USB_REG_RANGE,