aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/mxc_nand.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-07-19 13:06:10 -0400
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 08:02:16 -0400
commit0a32a10264d151bc2d1616d69edaf915aa728698 (patch)
treeb31eeb9c6c177fc58c848c6a993f961ea2506858 /drivers/mtd/nand/mxc_nand.c
parent289c05222172b51401dbbb017115655f241d94ab (diff)
mtd: cleanup style on pr_debug messages
Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'drivers/mtd/nand/mxc_nand.c')
-rw-r--r--drivers/mtd/nand/mxc_nand.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 2fbfb71c237b..ebeb84316ecd 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -349,8 +349,7 @@ static void wait_op_done(struct mxc_nand_host *host, int useirq)
349 udelay(1); 349 udelay(1);
350 } 350 }
351 if (max_retries < 0) 351 if (max_retries < 0)
352 pr_debug("%s: INT not set\n", 352 pr_debug("%s: INT not set\n", __func__);
353 __func__);
354 } 353 }
355} 354}
356 355
@@ -386,8 +385,7 @@ static void send_cmd_v1_v2(struct mxc_nand_host *host, uint16_t cmd, int useirq)
386 udelay(1); 385 udelay(1);
387 } 386 }
388 if (max_retries < 0) 387 if (max_retries < 0)
389 pr_debug("%s: RESET failed\n", 388 pr_debug("%s: RESET failed\n", __func__);
390 __func__);
391 } else { 389 } else {
392 /* Wait for operation to complete */ 390 /* Wait for operation to complete */
393 wait_op_done(host, useirq); 391 wait_op_done(host, useirq);