Commit d92eaf57 authored by Daniel Mack's avatar Daniel Mack Committed by Ulf Hansson

mmc: pxamci: remove irq from private context

This seems to be a left-over from times before the IRQ was handled by devm
functions. Remove it.
Signed-off-by: default avatarDaniel Mack <daniel@zonque.org>
Acked-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 86f495c5
...@@ -58,7 +58,6 @@ struct pxamci_host { ...@@ -58,7 +58,6 @@ struct pxamci_host {
void __iomem *base; void __iomem *base;
struct clk *clk; struct clk *clk;
unsigned long clkrate; unsigned long clkrate;
int irq;
unsigned int clkrt; unsigned int clkrt;
unsigned int cmdat; unsigned int cmdat;
unsigned int imask; unsigned int imask;
...@@ -711,7 +710,6 @@ static int pxamci_probe(struct platform_device *pdev) ...@@ -711,7 +710,6 @@ static int pxamci_probe(struct platform_device *pdev)
spin_lock_init(&host->lock); spin_lock_init(&host->lock);
host->res = r; host->res = r;
host->irq = irq;
host->imask = MMC_I_MASK_ALL; host->imask = MMC_I_MASK_ALL;
host->base = devm_ioremap_resource(&pdev->dev, r); host->base = devm_ioremap_resource(&pdev->dev, r);
...@@ -729,7 +727,7 @@ static int pxamci_probe(struct platform_device *pdev) ...@@ -729,7 +727,7 @@ static int pxamci_probe(struct platform_device *pdev)
writel(64, host->base + MMC_RESTO); writel(64, host->base + MMC_RESTO);
writel(host->imask, host->base + MMC_I_MASK); writel(host->imask, host->base + MMC_I_MASK);
ret = devm_request_irq(&pdev->dev, host->irq, pxamci_irq, 0, ret = devm_request_irq(&pdev->dev, irq, pxamci_irq, 0,
DRIVER_NAME, host); DRIVER_NAME, host);
if (ret) if (ret)
goto out; goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment