aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/mt312.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/mt312.c')
-rw-r--r--drivers/media/dvb/frontends/mt312.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/mt312.c b/drivers/media/dvb/frontends/mt312.c
index 1638301fbd6e..daca855c804a 100644
--- a/drivers/media/dvb/frontends/mt312.c
+++ b/drivers/media/dvb/frontends/mt312.c
@@ -76,7 +76,7 @@ static int mt312_read(struct mt312_state *state, const enum mt312_reg_addr reg,
76 ret = i2c_transfer(state->i2c, msg, 2); 76 ret = i2c_transfer(state->i2c, msg, 2);
77 77
78 if (ret != 2) { 78 if (ret != 2) {
79 printk(KERN_ERR "%s: ret == %d\n", __FUNCTION__, ret); 79 printk(KERN_ERR "%s: ret == %d\n", __func__, ret);
80 return -EREMOTEIO; 80 return -EREMOTEIO;
81 } 81 }
82 82
@@ -117,7 +117,7 @@ static int mt312_write(struct mt312_state *state, const enum mt312_reg_addr reg,
117 ret = i2c_transfer(state->i2c, &msg, 1); 117 ret = i2c_transfer(state->i2c, &msg, 1);
118 118
119 if (ret != 1) { 119 if (ret != 1) {
120 dprintk("%s: ret == %d\n", __FUNCTION__, ret); 120 dprintk("%s: ret == %d\n", __func__, ret);
121 return -EREMOTEIO; 121 return -EREMOTEIO;
122 } 122 }
123 123
@@ -499,7 +499,7 @@ static int mt312_set_frontend(struct dvb_frontend *fe,
499 { 0x00, 0x01, 0x02, 0x04, 0x3f, 0x08, 0x10, 0x20, 0x3f, 0x3f }; 499 { 0x00, 0x01, 0x02, 0x04, 0x3f, 0x08, 0x10, 0x20, 0x3f, 0x3f };
500 const u8 inv_tab[3] = { 0x00, 0x40, 0x80 }; 500 const u8 inv_tab[3] = { 0x00, 0x40, 0x80 };
501 501
502 dprintk("%s: Freq %d\n", __FUNCTION__, p->frequency); 502 dprintk("%s: Freq %d\n", __func__, p->frequency);
503 503
504 if ((p->frequency < fe->ops.info.frequency_min) 504 if ((p->frequency < fe->ops.info.frequency_min)
505 || (p->frequency > fe->ops.info.frequency_max)) 505 || (p->frequency > fe->ops.info.frequency_max))