summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis/mantis_dvb.c
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-15 12:47:21 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 14:55:44 +0100
commitf5ae4f6f482191c531ea9e50ac91d9bd2ffca171 (patch)
treea5a1c9553ae58fb19eddbb594f8f0596a3b33e20 /drivers/media/dvb/mantis/mantis_dvb.c
parentV4L/DVB (13807): Fix: Free device in the device registration failure case (diff)
downloadlinux-f5ae4f6f482191c531ea9e50ac91d9bd2ffca171.tar.xz
linux-f5ae4f6f482191c531ea9e50ac91d9bd2ffca171.zip
V4L/DVB (13809): Fix Checkpatch violations
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_dvb.c')
-rw-r--r--drivers/media/dvb/mantis/mantis_dvb.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/media/dvb/mantis/mantis_dvb.c b/drivers/media/dvb/mantis/mantis_dvb.c
index 54bf4ea9efd7..8982d6fdf6be 100644
--- a/drivers/media/dvb/mantis/mantis_dvb.c
+++ b/drivers/media/dvb/mantis/mantis_dvb.c
@@ -116,7 +116,6 @@ static int mantis_dvb_start_feed(struct dvb_demux_feed *dvbdmxfeed)
if (mantis->feeds == 1) {
dprintk(MANTIS_DEBUG, 1, "mantis start feed & dma");
- printk("mantis start feed & dma\n");
mantis_dma_start(mantis);
}
@@ -137,7 +136,6 @@ static int mantis_dvb_stop_feed(struct dvb_demux_feed *dvbdmxfeed)
mantis->feeds--;
if (mantis->feeds == 0) {
dprintk(MANTIS_DEBUG, 1, "mantis stop feed and dma");
- printk("mantis stop feed and dma\n");
mantis_dma_stop(mantis);
}
@@ -204,9 +202,9 @@ int __devinit mantis_dvb_init(struct mantis_pci *mantis)
}
mantis->fe_mem.source = DMX_MEMORY_FE;
- result = mantis->demux.dmx.add_frontend(&mantis->demux.dmx,&mantis->fe_mem);
+ result = mantis->demux.dmx.add_frontend(&mantis->demux.dmx, &mantis->fe_mem);
if (result < 0) {
- dprintk(MANTIS_ERROR, 1,"dvb_dmx_init failed, ERROR=%d", result);
+ dprintk(MANTIS_ERROR, 1, "dvb_dmx_init failed, ERROR=%d", result);
goto err3;
}
@@ -224,10 +222,6 @@ int __devinit mantis_dvb_init(struct mantis_pci *mantis)
dprintk(MANTIS_ERROR, 1, "!!! NO Frontends found !!!");
goto err5;
} else {
-// if (mantis->dvb_adapter == NULL) {
-// dprintk(MANTIS_ERROR, 1, "DVB adapter <NULL>");
-// goto err5;
-// }
if (mantis->fe == NULL) {
dprintk(MANTIS_ERROR, 1, "FE <NULL>");
goto err5;
@@ -277,7 +271,7 @@ int __devexit mantis_dvb_exit(struct mantis_pci *mantis)
int err;
if (mantis->fe) {
-// mantis_ca_exit(mantis);
+ /* mantis_ca_exit(mantis); */
err = mantis_frontend_shutdown(mantis);
if (err != 0)
dprintk(MANTIS_ERROR, 1, "Frontend exit while POWER ON! <%d>", err);