aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/mt2131.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/mt2131.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/mt2131.c')
-rw-r--r--drivers/media/dvb/frontends/mt2131.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/dvb/frontends/mt2131.c b/drivers/media/dvb/frontends/mt2131.c
index 13cf16668171..e254bcfc2efb 100644
--- a/drivers/media/dvb/frontends/mt2131.c
+++ b/drivers/media/dvb/frontends/mt2131.c
@@ -110,7 +110,7 @@ static int mt2131_set_params(struct dvb_frontend *fe,
110 priv->bandwidth = 0; 110 priv->bandwidth = 0;
111 111
112 freq = params->frequency / 1000; // Hz -> kHz 112 freq = params->frequency / 1000; // Hz -> kHz
113 dprintk(1, "%s() freq=%d\n", __FUNCTION__, freq); 113 dprintk(1, "%s() freq=%d\n", __func__, freq);
114 114
115 f_lo1 = freq + MT2131_IF1 * 1000; 115 f_lo1 = freq + MT2131_IF1 * 1000;
116 f_lo1 = (f_lo1 / 250) * 250; 116 f_lo1 = (f_lo1 / 250) * 250;
@@ -187,7 +187,7 @@ static int mt2131_set_params(struct dvb_frontend *fe,
187static int mt2131_get_frequency(struct dvb_frontend *fe, u32 *frequency) 187static int mt2131_get_frequency(struct dvb_frontend *fe, u32 *frequency)
188{ 188{
189 struct mt2131_priv *priv = fe->tuner_priv; 189 struct mt2131_priv *priv = fe->tuner_priv;
190 dprintk(1, "%s()\n", __FUNCTION__); 190 dprintk(1, "%s()\n", __func__);
191 *frequency = priv->frequency; 191 *frequency = priv->frequency;
192 return 0; 192 return 0;
193} 193}
@@ -195,7 +195,7 @@ static int mt2131_get_frequency(struct dvb_frontend *fe, u32 *frequency)
195static int mt2131_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) 195static int mt2131_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
196{ 196{
197 struct mt2131_priv *priv = fe->tuner_priv; 197 struct mt2131_priv *priv = fe->tuner_priv;
198 dprintk(1, "%s()\n", __FUNCTION__); 198 dprintk(1, "%s()\n", __func__);
199 *bandwidth = priv->bandwidth; 199 *bandwidth = priv->bandwidth;
200 return 0; 200 return 0;
201} 201}
@@ -214,7 +214,7 @@ static int mt2131_get_status(struct dvb_frontend *fe, u32 *status)
214 214
215 mt2131_readreg(priv, 0x09, &afc_status); 215 mt2131_readreg(priv, 0x09, &afc_status);
216 dprintk(1, "%s() - LO Status = 0x%x, AFC Status = 0x%x\n", 216 dprintk(1, "%s() - LO Status = 0x%x, AFC Status = 0x%x\n",
217 __FUNCTION__, lock_status, afc_status); 217 __func__, lock_status, afc_status);
218 218
219 return 0; 219 return 0;
220} 220}
@@ -223,7 +223,7 @@ static int mt2131_init(struct dvb_frontend *fe)
223{ 223{
224 struct mt2131_priv *priv = fe->tuner_priv; 224 struct mt2131_priv *priv = fe->tuner_priv;
225 int ret; 225 int ret;
226 dprintk(1, "%s()\n", __FUNCTION__); 226 dprintk(1, "%s()\n", __func__);
227 227
228 if ((ret = mt2131_writeregs(priv, mt2131_config1, 228 if ((ret = mt2131_writeregs(priv, mt2131_config1,
229 sizeof(mt2131_config1))) < 0) 229 sizeof(mt2131_config1))) < 0)
@@ -243,7 +243,7 @@ static int mt2131_init(struct dvb_frontend *fe)
243 243
244static int mt2131_release(struct dvb_frontend *fe) 244static int mt2131_release(struct dvb_frontend *fe)
245{ 245{
246 dprintk(1, "%s()\n", __FUNCTION__); 246 dprintk(1, "%s()\n", __func__);
247 kfree(fe->tuner_priv); 247 kfree(fe->tuner_priv);
248 fe->tuner_priv = NULL; 248 fe->tuner_priv = NULL;
249 return 0; 249 return 0;
@@ -273,7 +273,7 @@ struct dvb_frontend * mt2131_attach(struct dvb_frontend *fe,
273 struct mt2131_priv *priv = NULL; 273 struct mt2131_priv *priv = NULL;
274 u8 id = 0; 274 u8 id = 0;
275 275
276 dprintk(1, "%s()\n", __FUNCTION__); 276 dprintk(1, "%s()\n", __func__);
277 277
278 priv = kzalloc(sizeof(struct mt2131_priv), GFP_KERNEL); 278 priv = kzalloc(sizeof(struct mt2131_priv), GFP_KERNEL);
279 if (priv == NULL) 279 if (priv == NULL)