mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 22:42:10 +00:00
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@lip6.fr> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
7c2f717668
commit
a05973a79e
1 changed files with 0 additions and 3 deletions
|
@ -948,8 +948,6 @@ static int s3c24xx_nand_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
cpu_type = platform_get_device_id(pdev)->driver_data;
|
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);
|
info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
|
||||||
if (info == NULL) {
|
if (info == NULL) {
|
||||||
err = -ENOMEM;
|
err = -ENOMEM;
|
||||||
|
@ -1045,7 +1043,6 @@ static int s3c24xx_nand_probe(struct platform_device *pdev)
|
||||||
s3c2410_nand_clk_set_state(info, CLOCK_SUSPEND);
|
s3c2410_nand_clk_set_state(info, CLOCK_SUSPEND);
|
||||||
}
|
}
|
||||||
|
|
||||||
pr_debug("initialised ok\n");
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
exit_error:
|
exit_error:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue