aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/aty/radeon_i2c.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-04-28 05:15:13 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:38 -0400
commitbc3bf466e4a0a53d5c78561594c9cb4225bbb481 (patch)
tree5a6a5fb136ee0f36cbe5aca9de7a1ec9aad24064 /drivers/video/aty/radeon_i2c.c
parentb0313f89672eddf0188dac96bb8f83135510a45c (diff)
radeonfb: drop redundant RTRACE macro
RTRACE() does exactly the same thing as the standard pr_debug() call, so just use the latter. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/aty/radeon_i2c.c')
-rw-r--r--drivers/video/aty/radeon_i2c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/aty/radeon_i2c.c b/drivers/video/aty/radeon_i2c.c
index 5254c7627a5a..b8e21da8f8ce 100644
--- a/drivers/video/aty/radeon_i2c.c
+++ b/drivers/video/aty/radeon_i2c.c
@@ -149,21 +149,21 @@ int radeon_probe_i2c_connector(struct radeonfb_info *rinfo, int conn,
149 if (out_edid) 149 if (out_edid)
150 *out_edid = edid; 150 *out_edid = edid;
151 if (!edid) { 151 if (!edid) {
152 RTRACE("radeonfb: I2C (port %d) ... not found\n", conn); 152 pr_debug("radeonfb: I2C (port %d) ... not found\n", conn);
153 return MT_NONE; 153 return MT_NONE;
154 } 154 }
155 if (edid[0x14] & 0x80) { 155 if (edid[0x14] & 0x80) {
156 /* Fix detection using BIOS tables */ 156 /* Fix detection using BIOS tables */
157 if (rinfo->is_mobility /*&& conn == ddc_dvi*/ && 157 if (rinfo->is_mobility /*&& conn == ddc_dvi*/ &&
158 (INREG(LVDS_GEN_CNTL) & LVDS_ON)) { 158 (INREG(LVDS_GEN_CNTL) & LVDS_ON)) {
159 RTRACE("radeonfb: I2C (port %d) ... found LVDS panel\n", conn); 159 pr_debug("radeonfb: I2C (port %d) ... found LVDS panel\n", conn);
160 return MT_LCD; 160 return MT_LCD;
161 } else { 161 } else {
162 RTRACE("radeonfb: I2C (port %d) ... found TMDS panel\n", conn); 162 pr_debug("radeonfb: I2C (port %d) ... found TMDS panel\n", conn);
163 return MT_DFP; 163 return MT_DFP;
164 } 164 }
165 } 165 }
166 RTRACE("radeonfb: I2C (port %d) ... found CRT display\n", conn); 166 pr_debug("radeonfb: I2C (port %d) ... found CRT display\n", conn);
167 return MT_CRT; 167 return MT_CRT;
168} 168}
169 169