0010-mtd-spi-nor-remove-unnecessary-leading-space-from-db.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. From f8c5645dd28440380622c2ad3744de0b55bd0bdf 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 10/33] mtd: spi-nor: remove unnecessary leading space from dbg
  5. 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. diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
  14. index 3e06d5b..107571e 100644
  15. --- a/drivers/mtd/spi-nor/spi-nor.c
  16. +++ b/drivers/mtd/spi-nor/spi-nor.c
  17. @@ -856,7 +856,7 @@ static const struct flash_info *spi_nor_read_id(struct spi_nor *nor)
  18. tmp = nor->read_reg(nor, SPINOR_OP_RDID, id, SPI_NOR_MAX_ID_LEN);
  19. if (tmp < 0) {
  20. - dev_dbg(nor->dev, " error %d reading JEDEC ID\n", tmp);
  21. + dev_dbg(nor->dev, "error %d reading JEDEC ID\n", tmp);
  22. return ERR_PTR(tmp);
  23. }
  24. --
  25. 2.8.1