diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-05-22 17:30:17 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:20:51 -0400 |
commit | 18658117ff844e8117f6b363cb7fa8c5f8ad2cb8 (patch) | |
tree | 0588a927374c7d5ed4d4bff117dd5203ef54342a /drivers/media/dvb/siano/smsdvb.c | |
parent | 854470606070d91955f03a7dca3a8024fc2a2540 (diff) |
V4L/DVB (8273): sms1xxx: replace __FUNCTION__ with __func__
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/siano/smsdvb.c')
-rw-r--r-- | drivers/media/dvb/siano/smsdvb.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/media/dvb/siano/smsdvb.c b/drivers/media/dvb/siano/smsdvb.c index e1a14a812c25..1a75033c35de 100644 --- a/drivers/media/dvb/siano/smsdvb.c +++ b/drivers/media/dvb/siano/smsdvb.c | |||
@@ -107,7 +107,7 @@ static int smsdvb_start_feed(struct dvb_demux_feed *feed) | |||
107 | smsdvb_client_t *client = container_of(feed->demux, smsdvb_client_t, demux); | 107 | smsdvb_client_t *client = container_of(feed->demux, smsdvb_client_t, demux); |
108 | SmsMsgData_ST PidMsg; | 108 | SmsMsgData_ST PidMsg; |
109 | 109 | ||
110 | printk("%s add pid %d(%x)\n", __FUNCTION__, feed->pid, feed->pid); | 110 | printk("%s add pid %d(%x)\n", __func__, feed->pid, feed->pid); |
111 | 111 | ||
112 | PidMsg.xMsgHeader.msgSrcId = DVBT_BDA_CONTROL_MSG_ID; | 112 | PidMsg.xMsgHeader.msgSrcId = DVBT_BDA_CONTROL_MSG_ID; |
113 | PidMsg.xMsgHeader.msgDstId = HIF_TASK; | 113 | PidMsg.xMsgHeader.msgDstId = HIF_TASK; |
@@ -124,7 +124,7 @@ static int smsdvb_stop_feed(struct dvb_demux_feed *feed) | |||
124 | smsdvb_client_t *client = container_of(feed->demux, smsdvb_client_t, demux); | 124 | smsdvb_client_t *client = container_of(feed->demux, smsdvb_client_t, demux); |
125 | SmsMsgData_ST PidMsg; | 125 | SmsMsgData_ST PidMsg; |
126 | 126 | ||
127 | printk("%s remove pid %d(%x)\n", __FUNCTION__, feed->pid, feed->pid); | 127 | printk("%s remove pid %d(%x)\n", __func__, feed->pid, feed->pid); |
128 | 128 | ||
129 | PidMsg.xMsgHeader.msgSrcId = DVBT_BDA_CONTROL_MSG_ID; | 129 | PidMsg.xMsgHeader.msgSrcId = DVBT_BDA_CONTROL_MSG_ID; |
130 | PidMsg.xMsgHeader.msgDstId = HIF_TASK; | 130 | PidMsg.xMsgHeader.msgDstId = HIF_TASK; |
@@ -197,7 +197,7 @@ static int smsdvb_read_snr(struct dvb_frontend *fe, u16 *snr) | |||
197 | 197 | ||
198 | static int smsdvb_get_tune_settings(struct dvb_frontend *fe, struct dvb_frontend_tune_settings *tune) | 198 | static int smsdvb_get_tune_settings(struct dvb_frontend *fe, struct dvb_frontend_tune_settings *tune) |
199 | { | 199 | { |
200 | printk("%s\n", __FUNCTION__); | 200 | printk("%s\n", __func__); |
201 | 201 | ||
202 | tune->min_delay_ms = 400; | 202 | tune->min_delay_ms = 400; |
203 | tune->step_size = 250000; | 203 | tune->step_size = 250000; |
@@ -223,7 +223,7 @@ static int smsdvb_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_para | |||
223 | Msg.Data[0] = fep->frequency; | 223 | Msg.Data[0] = fep->frequency; |
224 | Msg.Data[2] = 12000000; | 224 | Msg.Data[2] = 12000000; |
225 | 225 | ||
226 | printk("%s freq %d band %d\n", __FUNCTION__, fep->frequency, fep->u.ofdm.bandwidth); | 226 | printk("%s freq %d band %d\n", __func__, fep->frequency, fep->u.ofdm.bandwidth); |
227 | 227 | ||
228 | switch(fep->u.ofdm.bandwidth) | 228 | switch(fep->u.ofdm.bandwidth) |
229 | { | 229 | { |
@@ -242,7 +242,7 @@ static int smsdvb_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_para | |||
242 | { | 242 | { |
243 | smsdvb_client_t *client = container_of(fe, smsdvb_client_t, frontend); | 243 | smsdvb_client_t *client = container_of(fe, smsdvb_client_t, frontend); |
244 | 244 | ||
245 | printk("%s\n", __FUNCTION__); | 245 | printk("%s\n", __func__); |
246 | 246 | ||
247 | // todo: | 247 | // todo: |
248 | memcpy(fep, &client->fe_params, sizeof(struct dvb_frontend_parameters)); | 248 | memcpy(fep, &client->fe_params, sizeof(struct dvb_frontend_parameters)); |
@@ -303,7 +303,7 @@ int smsdvb_hotplug(smscore_device_t *coredev, struct device* device, int arrival | |||
303 | client = kzalloc(sizeof(smsdvb_client_t), GFP_KERNEL); | 303 | client = kzalloc(sizeof(smsdvb_client_t), GFP_KERNEL); |
304 | if (!client) | 304 | if (!client) |
305 | { | 305 | { |
306 | printk(KERN_INFO "%s kmalloc() failed\n", __FUNCTION__); | 306 | printk(KERN_INFO "%s kmalloc() failed\n", __func__); |
307 | return -ENOMEM; | 307 | return -ENOMEM; |
308 | } | 308 | } |
309 | 309 | ||
@@ -325,7 +325,7 @@ int smsdvb_hotplug(smscore_device_t *coredev, struct device* device, int arrival | |||
325 | rc = dvb_dmx_init(&client->demux); | 325 | rc = dvb_dmx_init(&client->demux); |
326 | if (rc < 0) | 326 | if (rc < 0) |
327 | { | 327 | { |
328 | printk("%s dvb_dmx_init failed %d\n\n", __FUNCTION__, rc); | 328 | printk("%s dvb_dmx_init failed %d\n\n", __func__, rc); |
329 | goto dvbdmx_error; | 329 | goto dvbdmx_error; |
330 | } | 330 | } |
331 | 331 | ||
@@ -337,7 +337,7 @@ int smsdvb_hotplug(smscore_device_t *coredev, struct device* device, int arrival | |||
337 | rc = dvb_dmxdev_init(&client->dmxdev, &client->adapter); | 337 | rc = dvb_dmxdev_init(&client->dmxdev, &client->adapter); |
338 | if (rc < 0) | 338 | if (rc < 0) |
339 | { | 339 | { |
340 | printk("%s dvb_dmxdev_init failed %d\n", __FUNCTION__, rc); | 340 | printk("%s dvb_dmxdev_init failed %d\n", __func__, rc); |
341 | goto dmxdev_error; | 341 | goto dmxdev_error; |
342 | } | 342 | } |
343 | 343 | ||
@@ -347,7 +347,7 @@ int smsdvb_hotplug(smscore_device_t *coredev, struct device* device, int arrival | |||
347 | rc = dvb_register_frontend(&client->adapter, &client->frontend); | 347 | rc = dvb_register_frontend(&client->adapter, &client->frontend); |
348 | if (rc < 0) | 348 | if (rc < 0) |
349 | { | 349 | { |
350 | printk("%s frontend registration failed %d\n", __FUNCTION__, rc); | 350 | printk("%s frontend registration failed %d\n", __func__, rc); |
351 | goto frontend_error; | 351 | goto frontend_error; |
352 | } | 352 | } |
353 | 353 | ||
@@ -360,7 +360,7 @@ int smsdvb_hotplug(smscore_device_t *coredev, struct device* device, int arrival | |||
360 | rc = smscore_register_client(coredev, ¶ms, &client->smsclient); | 360 | rc = smscore_register_client(coredev, ¶ms, &client->smsclient); |
361 | if (rc < 0) | 361 | if (rc < 0) |
362 | { | 362 | { |
363 | printk(KERN_INFO "%s smscore_register_client() failed %d\n", __FUNCTION__, rc); | 363 | printk(KERN_INFO "%s smscore_register_client() failed %d\n", __func__, rc); |
364 | goto client_error; | 364 | goto client_error; |
365 | } | 365 | } |
366 | 366 | ||
@@ -375,7 +375,7 @@ int smsdvb_hotplug(smscore_device_t *coredev, struct device* device, int arrival | |||
375 | 375 | ||
376 | kmutex_unlock(&g_smsdvb_clientslock); | 376 | kmutex_unlock(&g_smsdvb_clientslock); |
377 | 377 | ||
378 | printk(KERN_INFO "%s success\n", __FUNCTION__); | 378 | printk(KERN_INFO "%s success\n", __func__); |
379 | 379 | ||
380 | return 0; | 380 | return 0; |
381 | 381 | ||
@@ -405,7 +405,7 @@ int smsdvb_register(void) | |||
405 | 405 | ||
406 | rc = smscore_register_hotplug(smsdvb_hotplug); | 406 | rc = smscore_register_hotplug(smsdvb_hotplug); |
407 | 407 | ||
408 | printk(KERN_INFO "%s\n", __FUNCTION__); | 408 | printk(KERN_INFO "%s\n", __func__); |
409 | 409 | ||
410 | return rc; | 410 | return rc; |
411 | } | 411 | } |