diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-12-21 06:58:09 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:04:09 -0500 |
commit | 0b6a3342a645208feaab76332f1eee33e1688bd5 (patch) | |
tree | 2d6b0690f9c44e0e6f0a2c94ad88bded9551979b /drivers/media/dvb/frontends | |
parent | 89f6475857b89e956a8bcfef64944409ce4173b4 (diff) |
V4L/DVB (6874): removes duplicated KERN_DEBUG flags from dprintk calls in mt312.c
do { \
if (debug) printk(KERN_DEBUG "mt312: " args); \
} while (0)
So no caller need to specify KERN_DEBUG.
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r-- | drivers/media/dvb/frontends/mt312.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/dvb/frontends/mt312.c b/drivers/media/dvb/frontends/mt312.c index 55d42440e979..2d68fafc0ef8 100644 --- a/drivers/media/dvb/frontends/mt312.c +++ b/drivers/media/dvb/frontends/mt312.c | |||
@@ -183,7 +183,7 @@ static int mt312_get_symbol_rate(struct mt312_state *state, u32 *sr) | |||
183 | 183 | ||
184 | monitor = (buf[0] << 8) | buf[1]; | 184 | monitor = (buf[0] << 8) | buf[1]; |
185 | 185 | ||
186 | dprintk(KERN_DEBUG "sr(auto) = %u\n", | 186 | dprintk("sr(auto) = %u\n", |
187 | mt312_div(monitor * 15625, 4)); | 187 | mt312_div(monitor * 15625, 4)); |
188 | } else { | 188 | } else { |
189 | if ((ret = mt312_writereg(state, MON_CTRL, 0x05)) < 0) | 189 | if ((ret = mt312_writereg(state, MON_CTRL, 0x05)) < 0) |
@@ -200,9 +200,9 @@ static int mt312_get_symbol_rate(struct mt312_state *state, u32 *sr) | |||
200 | 200 | ||
201 | sym_rat_op = (buf[0] << 8) | buf[1]; | 201 | sym_rat_op = (buf[0] << 8) | buf[1]; |
202 | 202 | ||
203 | dprintk(KERN_DEBUG "sym_rat_op=%d dec_ratio=%d\n", | 203 | dprintk("sym_rat_op=%d dec_ratio=%d\n", |
204 | sym_rat_op, dec_ratio); | 204 | sym_rat_op, dec_ratio); |
205 | dprintk(KERN_DEBUG "*sr(manual) = %lu\n", | 205 | dprintk("*sr(manual) = %lu\n", |
206 | (((MT312_PLL_CLK * 8192) / (sym_rat_op + 8192)) * | 206 | (((MT312_PLL_CLK * 8192) / (sym_rat_op + 8192)) * |
207 | 2) - dec_ratio); | 207 | 2) - dec_ratio); |
208 | } | 208 | } |
@@ -383,7 +383,7 @@ static int mt312_read_status(struct dvb_frontend *fe, fe_status_t *s) | |||
383 | if ((ret = mt312_read(state, QPSK_STAT_H, status, sizeof(status))) < 0) | 383 | if ((ret = mt312_read(state, QPSK_STAT_H, status, sizeof(status))) < 0) |
384 | return ret; | 384 | return ret; |
385 | 385 | ||
386 | dprintk(KERN_DEBUG "QPSK_STAT_H: 0x%02x, QPSK_STAT_L: 0x%02x," | 386 | dprintk("QPSK_STAT_H: 0x%02x, QPSK_STAT_L: 0x%02x," |
387 | " FEC_STATUS: 0x%02x\n", status[0], status[1], status[2]); | 387 | " FEC_STATUS: 0x%02x\n", status[0], status[1], status[2]); |
388 | 388 | ||
389 | if (status[0] & 0xc0) | 389 | if (status[0] & 0xc0) |
@@ -431,7 +431,7 @@ static int mt312_read_signal_strength(struct dvb_frontend *fe, | |||
431 | 431 | ||
432 | *signal_strength = agc; | 432 | *signal_strength = agc; |
433 | 433 | ||
434 | dprintk(KERN_DEBUG "agc=%08x err_db=%hd\n", agc, err_db); | 434 | dprintk("agc=%08x err_db=%hd\n", agc, err_db); |
435 | 435 | ||
436 | return 0; | 436 | return 0; |
437 | } | 437 | } |