mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
clocksource: Drop unused irqaction.mask from SH drivers.
The irqaction.mask is legacy code that is wholly unused and going away, so simply drop its use in the SH drivers completely. Fixes up build failures in -next. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
6fe32a4685
commit
e7fad451f0
3 changed files with 0 additions and 3 deletions
|
@ -599,7 +599,6 @@ static int sh_cmt_setup(struct sh_cmt_priv *p, struct platform_device *pdev)
|
||||||
p->irqaction.handler = sh_cmt_interrupt;
|
p->irqaction.handler = sh_cmt_interrupt;
|
||||||
p->irqaction.dev_id = p;
|
p->irqaction.dev_id = p;
|
||||||
p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL;
|
p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL;
|
||||||
p->irqaction.mask = CPU_MASK_NONE;
|
|
||||||
ret = setup_irq(irq, &p->irqaction);
|
ret = setup_irq(irq, &p->irqaction);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
pr_err("sh_cmt: failed to request irq %d\n", irq);
|
pr_err("sh_cmt: failed to request irq %d\n", irq);
|
||||||
|
|
|
@ -283,7 +283,6 @@ static int sh_mtu2_setup(struct sh_mtu2_priv *p, struct platform_device *pdev)
|
||||||
p->irqaction.dev_id = p;
|
p->irqaction.dev_id = p;
|
||||||
p->irqaction.irq = irq;
|
p->irqaction.irq = irq;
|
||||||
p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL;
|
p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL;
|
||||||
p->irqaction.mask = CPU_MASK_NONE;
|
|
||||||
|
|
||||||
/* get hold of clock */
|
/* get hold of clock */
|
||||||
p->clk = clk_get(&p->pdev->dev, cfg->clk);
|
p->clk = clk_get(&p->pdev->dev, cfg->clk);
|
||||||
|
|
|
@ -385,7 +385,6 @@ static int sh_tmu_setup(struct sh_tmu_priv *p, struct platform_device *pdev)
|
||||||
p->irqaction.dev_id = p;
|
p->irqaction.dev_id = p;
|
||||||
p->irqaction.irq = irq;
|
p->irqaction.irq = irq;
|
||||||
p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL;
|
p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL;
|
||||||
p->irqaction.mask = CPU_MASK_NONE;
|
|
||||||
|
|
||||||
/* get hold of clock */
|
/* get hold of clock */
|
||||||
p->clk = clk_get(&p->pdev->dev, cfg->clk);
|
p->clk = clk_get(&p->pdev->dev, cfg->clk);
|
||||||
|
|
Loading…
Reference in a new issue