[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130409090348.GB28509@the-dreams.de>
Date: Tue, 9 Apr 2013 11:03:49 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Mika Westerberg <mika.westerberg@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org,
ben-linux@...ff.org, Jean Delvare <khali@...ux-fr.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Christian Ruppert <christian.ruppert@...lis.com>
Subject: Re: [3/7] i2c-designware-pci: use managed functions pcim_* and devm_*
> @@ -296,10 +273,11 @@ static int i2c_dw_pci_probe(struct pci_dev *pdev,
> snprintf(adap->name, sizeof(adap->name), "i2c-designware-pci-%d",
> adap->nr);
>
> - r = request_irq(pdev->irq, i2c_dw_isr, IRQF_SHARED, adap->name, dev);
> + r = devm_request_irq(&pdev->dev, pdev->irq, i2c_dw_isr, IRQF_SHARED,
> + adap->name, dev);
IRQ question from patch 1 fits here, too.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists