Skip to content

Commit

Permalink
mtd: s3c2410: drop useless / misspelled debug prints
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brian Norris committed Feb 28, 2015
1 parent 7c2f717 commit a05973a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/mtd/nand/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit a05973a

Please sign in to comment.