mtd: spi-nor: remove unnecessary leading space from dbg print
authorBrian Norris <computersforpeace@gmail.com>
Fri, 30 Oct 2015 19:56:22 +0000 (12:56 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 16 Nov 2015 23:12:30 +0000 (15:12 -0800)
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@gmail.com>
Cc: Cyrille Pitchen <cyrille.pitchen@atmel.com>
drivers/mtd/spi-nor/spi-nor.c

index 12041e1..16c9f55 100644 (file)
@@ -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);
        }