ASoC: don't pass the string as the format arguemtn for dev_info()
authorTakashi Iwai <tiwai@suse.de>
Wed, 22 Dec 2010 13:08:40 +0000 (14:08 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 22 Dec 2010 13:08:40 +0000 (14:08 +0100)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/soc-dapm.c

index 50f5c785cb61e85f75fceaf56e5fced96ac36126..499730ab56380229ee5370962f56819b2d557e45 100644 (file)
@@ -110,7 +110,7 @@ static void pop_dbg(struct device *dev, u32 pop_time, const char *fmt, ...)
 
        va_start(args, fmt);
        vsnprintf(buf, PAGE_SIZE, fmt, args);
-       dev_info(dev, buf);
+       dev_info(dev, "%s", buf);
        va_end(args);
 
        kfree(buf);