summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/r852.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-07-19 10:06:07 -0700
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 15:02:15 +0300
commit9a4d4d69018e7b719ba58fa30fcdd60e547776b8 (patch)
treeba8268500b7abe8c61d3a77d7be7466e55f141bc /drivers/mtd/nand/r852.c
parenta0f5080ecc1c75f9c08591d9b0f48451e7ac8ddc (diff)
downloadlinux-9a4d4d69018e7b719ba58fa30fcdd60e547776b8.tar.bz2
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 <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'drivers/mtd/nand/r852.c')
0 files changed, 0 insertions, 0 deletions