summaryrefslogtreecommitdiff
path: root/drivers/media/pci/mantis/mantis_dvb.c
diff options
context:
space:
mode:
authorAllen Pais <allen.lkml@gmail.com>2020-08-17 11:31:44 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-08-29 09:11:19 +0300
commit4cf709c9aba062dd83909672e1c9a2c3b639ec80 (patch)
treedf8992719896faa5718524f1577549420f6b9886 /drivers/media/pci/mantis/mantis_dvb.c
parent143ca1d0553369bbadfc65083c9079516389f364 (diff)
downloadlinux-4cf709c9aba062dd83909672e1c9a2c3b639ec80.tar.xz
media: mantis: convert tasklets to use new tasklet_setup() API
In preparation for unconditionally passing the struct tasklet_struct pointer to all tasklet callbacks, switch to using the new tasklet_setup() and from_tasklet() to pass the tasklet pointer explicitly. Signed-off-by: Romain Perier <romain.perier@gmail.com> Signed-off-by: Allen Pais <allen.lkml@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci/mantis/mantis_dvb.c')
-rw-r--r--drivers/media/pci/mantis/mantis_dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/mantis/mantis_dvb.c b/drivers/media/pci/mantis/mantis_dvb.c
index 2da94be5b373..c7ba4a76e608 100644
--- a/drivers/media/pci/mantis/mantis_dvb.c
+++ b/drivers/media/pci/mantis/mantis_dvb.c
@@ -205,7 +205,7 @@ int mantis_dvb_init(struct mantis_pci *mantis)
}
dvb_net_init(&mantis->dvb_adapter, &mantis->dvbnet, &mantis->demux.dmx);
- tasklet_init(&mantis->tasklet, mantis_dma_xfer, (unsigned long) mantis);
+ tasklet_setup(&mantis->tasklet, mantis_dma_xfer);
tasklet_disable(&mantis->tasklet);
if (mantis->hwconfig) {
result = config->frontend_init(mantis, mantis->fe);