[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220216013424.3062140-1-trix@redhat.com>
Date: Tue, 15 Feb 2022 17:34:24 -0800
From: trix@...hat.com
To: ysato@...rs.sourceforge.jp, dalias@...c.org
Cc: linux-sh@...r.kernel.org, linux-kernel@...r.kernel.org,
Tom Rix <trix@...hat.com>
Subject: [PATCH] sh: cleanup comments
From: Tom Rix <trix@...hat.com>
Replacements:
SPDX--License-Identifier to SPDX-License-Identifier
incase to in case
Adaptor to Adapter
overruning to overrunning
Signed-off-by: Tom Rix <trix@...hat.com>
---
arch/sh/drivers/dma/dma-sh.c | 2 +-
arch/sh/drivers/pci/fixups-dreamcast.c | 2 +-
arch/sh/drivers/pci/pci-dreamcast.c | 2 +-
arch/sh/drivers/pci/pci-sh7751.c | 2 +-
arch/sh/drivers/platform_early.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/sh/drivers/dma/dma-sh.c b/arch/sh/drivers/dma/dma-sh.c
index 96c626c2cd0a..38e2d62c330c 100644
--- a/arch/sh/drivers/dma/dma-sh.c
+++ b/arch/sh/drivers/dma/dma-sh.c
@@ -261,7 +261,7 @@ static inline int dmaor_reset(int no)
{
unsigned long dmaor = dmaor_read_reg(no);
- /* Try to clear the error flags first, incase they are set */
+ /* Try to clear the error flags first, in case they are set */
dmaor &= ~(DMAOR_NMIF | DMAOR_AE);
dmaor_write_reg(no, dmaor);
diff --git a/arch/sh/drivers/pci/fixups-dreamcast.c b/arch/sh/drivers/pci/fixups-dreamcast.c
index 41e4daee8f04..2e8a1e2233a3 100644
--- a/arch/sh/drivers/pci/fixups-dreamcast.c
+++ b/arch/sh/drivers/pci/fixups-dreamcast.c
@@ -9,7 +9,7 @@
*
* This file originally bore the message (with enclosed-$):
* Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp
- * Dreamcast PCI: Supports SEGA Broadband Adaptor only.
+ * Dreamcast PCI: Supports SEGA Broadband Adapter only.
*/
#include <linux/sched.h>
diff --git a/arch/sh/drivers/pci/pci-dreamcast.c b/arch/sh/drivers/pci/pci-dreamcast.c
index 4cff2a8107bf..c48ae4576d24 100644
--- a/arch/sh/drivers/pci/pci-dreamcast.c
+++ b/arch/sh/drivers/pci/pci-dreamcast.c
@@ -7,7 +7,7 @@
*
* This file originally bore the message (with enclosed-$):
* Id: pci.c,v 1.3 2003/05/04 19:29:46 lethal Exp
- * Dreamcast PCI: Supports SEGA Broadband Adaptor only.
+ * Dreamcast PCI: Supports SEGA Broadband Adapter only.
*/
#include <linux/sched.h>
diff --git a/arch/sh/drivers/pci/pci-sh7751.c b/arch/sh/drivers/pci/pci-sh7751.c
index 11ed21c2e9bb..0324ab2564d8 100644
--- a/arch/sh/drivers/pci/pci-sh7751.c
+++ b/arch/sh/drivers/pci/pci-sh7751.c
@@ -170,7 +170,7 @@ static int __init sh7751_pci_init(void)
pci_fixup_pcic(chan);
/* SH7751 init done, set central function init complete */
- /* use round robin mode to stop a device starving/overruning */
+ /* use round robin mode to stop a device starving/overrunning */
word = SH4_PCICR_PREFIX | SH4_PCICR_CFIN | SH4_PCICR_ARBM;
pci_write_reg(chan, word, SH4_PCICR);
diff --git a/arch/sh/drivers/platform_early.c b/arch/sh/drivers/platform_early.c
index 143747c45206..1c2a571a8ab8 100644
--- a/arch/sh/drivers/platform_early.c
+++ b/arch/sh/drivers/platform_early.c
@@ -1,4 +1,4 @@
-// SPDX--License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0
#include <asm/platform_early.h>
#include <linux/mod_devicetable.h>
--
2.26.3
Powered by blists - more mailing lists