···238238 spin_unlock_bh(&iop_chan->lock);239239}240240241241-static void iop_adma_tasklet(unsigned long data)241241+static void iop_adma_tasklet(struct tasklet_struct *t)242242{243243- struct iop_adma_chan *iop_chan = (struct iop_adma_chan *) data;243243+ struct iop_adma_chan *iop_chan = from_tasklet(iop_chan, t,244244+ irq_tasklet);244245245246 /* lockdep will flag depedency submissions as potentially246247 * recursive locking, this is not the case as a dependency···13511350 ret = -ENOMEM;13521351 goto err_free_iop_chan;13531352 }13541354- tasklet_init(&iop_chan->irq_tasklet, iop_adma_tasklet, (unsigned long)13551355- iop_chan);13531353+ tasklet_setup(&iop_chan->irq_tasklet, iop_adma_tasklet);1356135413571355 /* clear errors before enabling interrupts */13581356 iop_adma_device_clear_err_status(iop_chan);
+3-3
drivers/dma/ipu/ipu_idmac.c
···12991299 return IRQ_HANDLED;13001300}1301130113021302-static void ipu_gc_tasklet(unsigned long arg)13021302+static void ipu_gc_tasklet(struct tasklet_struct *t)13031303{13041304- struct ipu *ipu = (struct ipu *)arg;13041304+ struct ipu *ipu = from_tasklet(ipu, t, tasklet);13051305 int i;1306130613071307 for (i = 0; i < IPU_CHANNELS_NUM; i++) {···17401740 if (ret < 0)17411741 goto err_idmac_init;1742174217431743- tasklet_init(&ipu_data.tasklet, ipu_gc_tasklet, (unsigned long)&ipu_data);17431743+ tasklet_setup(&ipu_data.tasklet, ipu_gc_tasklet);1744174417451745 ipu_data.dev = &pdev->dev;17461746