mtd: s3c2410: drop useless / misspelled debug prints

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Apr 22 10:59:02 PDT 2015


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=a05973a79efe9152391065c87c12d5c1e146a736
Commit:     a05973a79efe9152391065c87c12d5c1e146a736
Parent:     7c2f717668af10ab6d4aaed22a5d29f06812ee62
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Fri Feb 6 03:25:28 2015 -0800
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Sat Feb 28 01:31:06 2015 -0800

    mtd: s3c2410: drop useless / misspelled debug prints
    
    s3c2410_nand_probe is not the name of the function.
    
    These prints have little utility, so let's just kill them.
    
    Reported-by: Julia Lawall <Julia.Lawall at lip6.fr>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/nand/s3c2410.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
index 35aef5e..0e02be4 100644
--- a/drivers/mtd/nand/s3c2410.c
+++ b/drivers/mtd/nand/s3c2410.c
@@ -948,8 +948,6 @@ static int s3c24xx_nand_probe(struct platform_device *pdev)
 
 	cpu_type = platform_get_device_id(pdev)->driver_data;
 
-	pr_debug("s3c2410_nand_probe(%p)\n", pdev);
-
 	info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
 	if (info == NULL) {
 		err = -ENOMEM;
@@ -1045,7 +1043,6 @@ static int s3c24xx_nand_probe(struct platform_device *pdev)
 		s3c2410_nand_clk_set_state(info, CLOCK_SUSPEND);
 	}
 
-	pr_debug("initialised ok\n");
 	return 0;
 
  exit_error:



More information about the linux-mtd-cvs mailing list