1079-mtd-spi-nor-remove-unnecessary-leading-space-from-db.patch 935 B

123456789101112131415161718192021222324252627
  1. From 3ea419cf269832f5743d9b5ad75ece5178b02b09 Mon Sep 17 00:00:00 2001
  2. From: Brian Norris <computersforpeace@gmail.com>
  3. Date: Fri, 30 Oct 2015 12:56:22 -0700
  4. Subject: [PATCH 079/113] mtd: spi-nor: remove unnecessary leading space from
  5. dbg print
  6. As Cyrille noted [1], this line is wrong.
  7. [1] http://lists.infradead.org/pipermail/linux-mtd/2015-September/061725.html
  8. Signed-off-by: Brian Norris <computersforpeace@gmail.com>
  9. Cc: Cyrille Pitchen <cyrille.pitchen@atmel.com>
  10. ---
  11. drivers/mtd/spi-nor/spi-nor.c | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. --- a/drivers/mtd/spi-nor/spi-nor.c
  14. +++ b/drivers/mtd/spi-nor/spi-nor.c
  15. @@ -868,7 +868,7 @@ static const struct flash_info *spi_nor_
  16. tmp = nor->read_reg(nor, SPINOR_OP_RDID, id, SPI_NOR_MAX_ID_LEN);
  17. if (tmp < 0) {
  18. - dev_dbg(nor->dev, " error %d reading JEDEC ID\n", tmp);
  19. + dev_dbg(nor->dev, "error %d reading JEDEC ID\n", tmp);
  20. return ERR_PTR(tmp);
  21. }