aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/mt312.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-04-08 22:20:00 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:58 -0400
commit271ddbf702c3a4e6b18f6464180eda0f62efd9a5 (patch)
tree37a384a4ce6216c694ee0d86ffc89d4aa56944e1 /drivers/media/dvb/frontends/mt312.c
parent708bebdd3922c6f346b8540f93c73f006d2b947b (diff)
V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
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))