]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
mmc: core: drop space before newline in trace printf
authorBhimeswararao Matsa <bhimeswararao.matsa@gmail.com>
Fri, 29 Aug 2025 02:11:31 +0000 (07:41 +0530)
committerPeng Fan <peng.fan@nxp.com>
Mon, 1 Sep 2025 02:33:10 +0000 (10:33 +0800)
Remove unnecessary whitespace before '\n' in trace printf
format strings (checkpatch warning QUOTED_WHITESPACE_BEFORE_NEWLINE).

No functional change intended.

Signed-off-by: Bhimeswararao Matsa <bhimeswararao.matsa@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/mmc.c

index 5f2efbe6df90a0c79f4db26afd846fddd9c548c0..20afcffde3db0b01764e6bbc7ce7a81cbdcb03cd 100644 (file)
@@ -125,21 +125,21 @@ void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, int ret)
                        printf("\t\tMMC_RSP_NONE\n");
                        break;
                case MMC_RSP_R1:
-                       printf("\t\tMMC_RSP_R1,5,6,7 \t 0x%08x \n",
+                       printf("\t\tMMC_RSP_R1,5,6,7 \t 0x%08x\n",
                                cmd->response[0]);
                        break;
                case MMC_RSP_R1b:
-                       printf("\t\tMMC_RSP_R1b\t\t 0x%08x \n",
+                       printf("\t\tMMC_RSP_R1b\t\t 0x%08x\n",
                                cmd->response[0]);
                        break;
                case MMC_RSP_R2:
-                       printf("\t\tMMC_RSP_R2\t\t 0x%08x \n",
+                       printf("\t\tMMC_RSP_R2\t\t 0x%08x\n",
                                cmd->response[0]);
-                       printf("\t\t          \t\t 0x%08x \n",
+                       printf("\t\t          \t\t 0x%08x\n",
                                cmd->response[1]);
-                       printf("\t\t          \t\t 0x%08x \n",
+                       printf("\t\t          \t\t 0x%08x\n",
                                cmd->response[2]);
-                       printf("\t\t          \t\t 0x%08x \n",
+                       printf("\t\t          \t\t 0x%08x\n",
                                cmd->response[3]);
                        printf("\n");
                        printf("\t\t\t\t\tDUMPING DATA\n");
@@ -154,7 +154,7 @@ void mmmc_trace_after_send(struct mmc *mmc, struct mmc_cmd *cmd, int ret)
                        }
                        break;
                case MMC_RSP_R3:
-                       printf("\t\tMMC_RSP_R3,4\t\t 0x%08x \n",
+                       printf("\t\tMMC_RSP_R3,4\t\t 0x%08x\n",
                                cmd->response[0]);
                        break;
                default: