mtd: s3c2410: drop useless / misspelled debug prints
authorBrian Norris <computersforpeace@gmail.com>
Fri, 6 Feb 2015 11:25:28 +0000 (03:25 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 28 Feb 2015 09:31:06 +0000 (01:31 -0800)
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@lip6.fr>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/s3c2410.c

index 35aef5edb5887f8f8c1f1053e6a7873a887b4077..0e02be47ce1d4dbc959e7037a5bb08edc8e91b98 100644 (file)
@@ -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: