mtd: spi-nor: remove unnecessary leading space from dbg print

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jan 12 15:59:06 PST 2016


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=20625dfe0384676e3ee244091c4f09544d080798
Commit:     20625dfe0384676e3ee244091c4f09544d080798
Parent:     2b2462d5928379b8f43ffe19d72d069bfb89d316
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Fri Oct 30 12:56:22 2015 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon Nov 16 15:12:30 2015 -0800

    mtd: spi-nor: remove unnecessary leading space from dbg print
    
    As Cyrille noted [1], this line is wrong.
    
    [1] http://lists.infradead.org/pipermail/linux-mtd/2015-September/061725.html
    
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
    Cc: Cyrille Pitchen <cyrille.pitchen at atmel.com>
---
 drivers/mtd/spi-nor/spi-nor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 12041e1..16c9f55 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -856,7 +856,7 @@ static const struct flash_info *spi_nor_read_id(struct spi_nor *nor)
 
 	tmp = nor->read_reg(nor, SPINOR_OP_RDID, id, SPI_NOR_MAX_ID_LEN);
 	if (tmp < 0) {
-		dev_dbg(nor->dev, " error %d reading JEDEC ID\n", tmp);
+		dev_dbg(nor->dev, "error %d reading JEDEC ID\n", tmp);
 		return ERR_PTR(tmp);
 	}
 



More information about the linux-mtd-cvs mailing list