[PATCH][next] mtd: jedec_probe: Remove space before newline

Colin Ian King posted 1 patch 2 months ago
drivers/mtd/chips/jedec_probe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] mtd: jedec_probe: Remove space before newline
Posted by Colin Ian King 2 months ago
There is a extraneous space before a newline in a pr_debug message.
Remove the space and remove a space after ( and before literal string
to clean up checkpatch warning.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/mtd/chips/jedec_probe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index 23c32fe584b7..6a583418788d 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -1953,7 +1953,7 @@ static void jedec_reset(u32 base, struct map_info *map, struct cfi_private *cfi)
 	 * as they will ignore the writes and don't care what address
 	 * the F0 is written to */
 	if (cfi->addr_unlock1) {
-		pr_debug( "reset unlock called %x %x \n",
+		pr_debug("reset unlock called %x %x\n",
 		       cfi->addr_unlock1,cfi->addr_unlock2);
 		cfi_send_gen_cmd(0xaa, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL);
 		cfi_send_gen_cmd(0x55, cfi->addr_unlock2, base, map, cfi, cfi->device_type, NULL);
-- 
2.50.0
Re: [PATCH][next] mtd: jedec_probe: Remove space before newline
Posted by Miquel Raynal 1 month ago
On Thu, 31 Jul 2025 10:46:13 +0100, Colin Ian King wrote:
> There is a extraneous space before a newline in a pr_debug message.
> Remove the space and remove a space after ( and before literal string
> to clean up checkpatch warning.
> 
> 

Applied to mtd/next, thanks!

[1/1] mtd: jedec_probe: Remove space before newline
      commit: 1371b126ac3d89d911c7b75a753c7d17458a4853

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl