diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-07-19 10:06:07 -0700 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 15:02:15 +0300 |
commit | 9a4d4d69018e7b719ba58fa30fcdd60e547776b8 (patch) | |
tree | ba8268500b7abe8c61d3a77d7be7466e55f141bc /drivers/acpi/blacklist.c | |
parent | a0f5080ecc1c75f9c08591d9b0f48451e7ac8ddc (diff) | |
download | op-kernel-dev-9a4d4d69018e7b719ba58fa30fcdd60e547776b8.zip op-kernel-dev-9a4d4d69018e7b719ba58fa30fcdd60e547776b8.tar.gz |
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/acpi/blacklist.c')
0 files changed, 0 insertions, 0 deletions