diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-02-06 06:25:28 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-02-28 04:31:06 -0500 |
commit | a05973a79efe9152391065c87c12d5c1e146a736 (patch) | |
tree | 8c080b084123497900830480009a55ce0dbc6323 /drivers/mtd/nand | |
parent | 7c2f717668af10ab6d4aaed22a5d29f06812ee62 (diff) |
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>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/s3c2410.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 35aef5edb588..0e02be47ce1d 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) | |||
948 | 948 | ||
949 | cpu_type = platform_get_device_id(pdev)->driver_data; | 949 | cpu_type = platform_get_device_id(pdev)->driver_data; |
950 | 950 | ||
951 | pr_debug("s3c2410_nand_probe(%p)\n", pdev); | ||
952 | |||
953 | info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); | 951 | info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); |
954 | if (info == NULL) { | 952 | if (info == NULL) { |
955 | err = -ENOMEM; | 953 | err = -ENOMEM; |
@@ -1045,7 +1043,6 @@ static int s3c24xx_nand_probe(struct platform_device *pdev) | |||
1045 | s3c2410_nand_clk_set_state(info, CLOCK_SUSPEND); | 1043 | s3c2410_nand_clk_set_state(info, CLOCK_SUSPEND); |
1046 | } | 1044 | } |
1047 | 1045 | ||
1048 | pr_debug("initialised ok\n"); | ||
1049 | return 0; | 1046 | return 0; |
1050 | 1047 | ||
1051 | exit_error: | 1048 | exit_error: |