diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-07-19 19:06:07 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 14:02:15 +0200 |
commit | 9a4d4d69018e7b719ba58fa30fcdd60e547776b8 (patch) | |
tree | ba8268500b7abe8c61d3a77d7be7466e55f141bc /COPYING | |
parent | mtd: nand: change KERN_DEBUG to KERN_INFO (diff) | |
download | linux-9a4d4d69018e7b719ba58fa30fcdd60e547776b8.tar.xz linux-9a4d4d69018e7b719ba58fa30fcdd60e547776b8.zip |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions