summaryrefslogtreecommitdiff
path: root/include/video/udlfb.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-01-06 18:07:54 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-01-06 18:07:54 +0900
commit81f6f3c1047392a22b9a20bbecf98c7f2d6f922a (patch)
tree1e4b49ff738dcb43f61edaec434d7c9559246beb /include/video/udlfb.h
parentb9f03a3cd06c6f8bbecfe08eae2a69cc0a13c690 (diff)
downloadlinux-riscv-81f6f3c1047392a22b9a20bbecf98c7f2d6f922a.tar.gz
linux-riscv-81f6f3c1047392a22b9a20bbecf98c7f2d6f922a.tar.bz2
linux-riscv-81f6f3c1047392a22b9a20bbecf98c7f2d6f922a.zip
video: udlfb: Kill off special printk wrappers, use pr_fmt().
This kills off all of the dl_xxx() printk wrappers and simply stubs in a pr_fmt() definition to accomplish the same thing. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/video/udlfb.h')
-rw-r--r--include/video/udlfb.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/video/udlfb.h b/include/video/udlfb.h
index bf857526063b..69d485a4a026 100644
--- a/include/video/udlfb.h
+++ b/include/video/udlfb.h
@@ -92,20 +92,4 @@ struct dlfb_data {
#define DL_ALIGN_UP(x, a) ALIGN(x, a)
#define DL_ALIGN_DOWN(x, a) ALIGN(x-(a-1), a)
-/*
- * udlfb is both a usb device, and a framebuffer device.
- * They may exist at the same time, but during various stages
- * inactivity, teardown, or "virtual" operation, only one or the
- * other will exist (one will outlive the other). So we can't
- * call the dev_*() macros, because we don't have a stable dev object.
- */
-#define dl_err(format, arg...) \
- pr_err("udlfb: " format, ## arg)
-#define dl_warn(format, arg...) \
- pr_warning("udlfb: " format, ## arg)
-#define dl_notice(format, arg...) \
- pr_notice("udlfb: " format, ## arg)
-#define dl_info(format, arg...) \
- pr_info("udlfb: " format, ## arg)
-
#endif