Skip to contentSkip to conversation

soc: fsl: qe: Fix typo in a comment

PATCH In review Jason Wang 2 participants 2 messages Nov 13, 2021 – Nov 15, 2021

Subsystems (2)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 soc: fsl: qe: Fix typo in a comment

The double `is' in a comment is repeated, thus one of them should be removed.

---
 drivers/soc/fsl/qe/qe.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/soc/fsl/qe/qe.c +2 -2
index 4d38c80f8be8..b3c226eb5292 100644
@@ -147,7 +147,7 @@ EXPORT_SYMBOL(qe_issue_cmd);
  * memory mapped space.
  * The BRG clock is the QE clock divided by 2.
  * It was set up long ago during the initial boot phase and is
- * is given to us.
+ * given to us.
  * Baud rate clocks are zero-based in the driver code (as that maps
  * to port numbers). Documentation uses 1-based numbering.
  */
@@ -421,7 +421,7 @@ static void qe_upload_microcode(const void *base,
 
 	for (i = 0; i < be32_to_cpu(ucode->count); i++)
 		iowrite32be(be32_to_cpu(code[i]), &qe_immr->iram.idata);
-	
+
 	/* Set I-RAM Ready Register */
 	iowrite32be(QE_IRAM_READY, &qe_immr->iram.iready);
 }
Signature · 1 line
2.33.0
#1 lore raw

Le 13/11/2021 à 06:59, Jason Wang a écrit :

Quoted 2 lines

The double `is' in a comment is repeated, thus one of them should be removed.

You are also clean blanks it seems, so say it or don't do it.

Quoted 20 lines
---
  drivers/soc/fsl/qe/qe.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/soc/fsl/qe/qe.c +1 -1
index 4d38c80f8be8..b3c226eb5292 100644
@@ -147,7 +147,7 @@ EXPORT_SYMBOL(qe_issue_cmd);
   * memory mapped space.
   * The BRG clock is the QE clock divided by 2.
   * It was set up long ago during the initial boot phase and is
- * is given to us.
+ * given to us.
   * Baud rate clocks are zero-based in the driver code (as that maps
   * to port numbers). Documentation uses 1-based numbering.
   */

drivers/soc/fsl/qe/qe.c static void qe_upload_microcode(const void *base, · line 424

Quoted 5 lines
drivers/soc/fsl/qe/qe.c +1 -1
@@ -421,7 +421,7 @@ static void qe_upload_microcode(const void *base,
 
  	for (i = 0; i < be32_to_cpu(ucode->count); i++)
  		iowrite32be(be32_to_cpu(code[i]), &qe_immr->iram.idata);
-	
+

This change is not linked to the double "is".

Quoted 4 lines
drivers/soc/fsl/qe/qe.c +0 -0
  	/* Set I-RAM Ready Register */
  	iowrite32be(QE_IRAM_READY, &qe_immr->iram.iready);
  }