From: Brian Norris Date: Tue, 19 Jul 2011 17:06:07 +0000 (-0700) Subject: mtd: nand: convert printk() to pr_*() X-Git-Tag: v3.2-rc1~14^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a4d4d69018e7b719ba58fa30fcdd60e547776b8;p=pandora-kernel.git mtd: nand: convert printk() to pr_*() Instead of directly calling printk, it's simpler to use the built-in pr_* functions. This shortens code and allows easy customization through the definition of a pr_fmt() macro (not used currently). Ideally, we could implement much of this with dev_* functions, but the MTD subsystem does not necessarily register all its master `mtd_info.dev` device, so we cannot use dev_* consistently. See: http://lists.infradead.org/pipermail/linux-mtd/2011-July/036950.html Signed-off-by: Brian Norris Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed