diff options
author | Daniel Golle <daniel@makrotopia.org> | 2017-01-07 14:44:47 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2017-01-07 14:47:04 +0100 |
commit | 870b7bee44492bf99796b94075b42e4213caf6a9 (patch) | |
tree | 2f680ff1d6ae07d14cb6469dab970cd7953fb49a /target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c | |
parent | 8f0dc92afde82ab0ce7b4ca7337837422e9e6201 (diff) | |
download | upstream-870b7bee44492bf99796b94075b42e4213caf6a9.tar.gz upstream-870b7bee44492bf99796b94075b42e4213caf6a9.tar.bz2 upstream-870b7bee44492bf99796b94075b42e4213caf6a9.zip |
oxnas: remove some kprintf calls from NAND driver
They were added for debugging and I forgot to remove them.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c')
-rw-r--r-- | target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c b/target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c index 6cb17cd70e..36807b7767 100644 --- a/target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c +++ b/target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c @@ -120,7 +120,6 @@ static int oxnas_nand_probe(struct platform_device *pdev) /* Only a single chip node is supported */ count = of_get_child_count(np); - pr_info("########### count: %d\n", count); if (count > 1) return -EINVAL; @@ -150,12 +149,10 @@ static int oxnas_nand_probe(struct platform_device *pdev) /* Scan to find existence of the device */ err = nand_scan(mtd, 1); - pr_info("########### nand_scan err: %d\n", err); if (err) return err; err = mtd_device_register(mtd, NULL, 0); - pr_info("########### mtd_device_register err: %d\n", err); if (err) { nand_release(mtd); return err; @@ -165,8 +162,6 @@ static int oxnas_nand_probe(struct platform_device *pdev) ++nchips; } - pr_info("########### nchips: %d\n", nchips); - /* Exit if no chips found */ if (!nchips) return -ENODEV; |