aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-01-06 04:07:54 -0500
committerPaul Mundt <lethal@linux-sh.org>2011-01-06 04:07:54 -0500
commit81f6f3c1047392a22b9a20bbecf98c7f2d6f922a (patch)
tree1e4b49ff738dcb43f61edaec434d7c9559246beb /include/video
parentb9f03a3cd06c6f8bbecfe08eae2a69cc0a13c690 (diff)
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')
-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 {
92#define DL_ALIGN_UP(x, a) ALIGN(x, a) 92#define DL_ALIGN_UP(x, a) ALIGN(x, a)
93#define DL_ALIGN_DOWN(x, a) ALIGN(x-(a-1), a) 93#define DL_ALIGN_DOWN(x, a) ALIGN(x-(a-1), a)
94 94
95/*
96 * udlfb is both a usb device, and a framebuffer device.
97 * They may exist at the same time, but during various stages
98 * inactivity, teardown, or "virtual" operation, only one or the
99 * other will exist (one will outlive the other). So we can't
100 * call the dev_*() macros, because we don't have a stable dev object.
101 */
102#define dl_err(format, arg...) \
103 pr_err("udlfb: " format, ## arg)
104#define dl_warn(format, arg...) \
105 pr_warning("udlfb: " format, ## arg)
106#define dl_notice(format, arg...) \
107 pr_notice("udlfb: " format, ## arg)
108#define dl_info(format, arg...) \
109 pr_info("udlfb: " format, ## arg)
110
111#endif 95#endif