[PATCH] MFD: SM501 debug typo fix

From: Ben Dooks
Date: Mon Nov 19 2007 - 17:08:37 EST


Remove errnoeous x character from dev_dbg() call that
stops the driver compiling under debug.

Signed-off-by: Ben Dooks <ben-linux@xxxxxxxxx>

Index: linux-2.6.22-quilt2/drivers/mfd/sm501.c
===================================================================
--- linux-2.6.22-quilt2.orig/drivers/mfd/sm501.c 2007-07-09 00:32:17.000000000 +0100
+++ linux-2.6.22-quilt2/drivers/mfd/sm501.c 2007-07-28 10:38:39.000000000 +0100
@@ -156,7 +156,7 @@ static void sm501_dump_clk(struct sm501_

dev_dbg(sm->dev, "PM0[%c]: "
"P2 %ld.%ld MHz (%ld), V2 %ld.%ld (%ld), "
-x "M %ld.%ld (%ld), MX1 %ld.%ld (%ld)\n",
+ "M %ld.%ld (%ld), MX1 %ld.%ld (%ld)\n",
(pmc & 3 ) == 0 ? '*' : '-',
fmt_freq(decode_div(pll2, pm0, 24, 1<<29, 31, px_div)),
fmt_freq(decode_div(pll2, pm0, 16, 1<<20, 15, misc_div)),
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/