]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mtd: jedec_probe: Remove space before newline
authorColin Ian King <colin.i.king@gmail.com>
Thu, 31 Jul 2025 09:46:13 +0000 (10:46 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 11 Sep 2025 15:34:15 +0000 (17:34 +0200)
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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/chips/jedec_probe.c

index 23c32fe584b70a89328107bee1875594fefe2d6c..3648348e92bedc9155c3def7ef3e8068b1c16fde 100644 (file)
@@ -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);