提交 0bc69ce6 编写于 作者: M Michael Hennerich 提交者: Dmitry Torokhov

Input: ad7877, ad7879 - remove depreciated IRQF_SAMPLE_RANDOM flag

This patch removes depreciated IRQF_SAMPLE_RANDOM flags from
ad7877 and ad7879 touchscreen drivers.
Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 7f6d5ff2
...@@ -736,8 +736,8 @@ static int __devinit ad7877_probe(struct spi_device *spi) ...@@ -736,8 +736,8 @@ static int __devinit ad7877_probe(struct spi_device *spi)
/* Request AD7877 /DAV GPIO interrupt */ /* Request AD7877 /DAV GPIO interrupt */
err = request_irq(spi->irq, ad7877_irq, IRQF_TRIGGER_FALLING | err = request_irq(spi->irq, ad7877_irq, IRQF_TRIGGER_FALLING,
IRQF_SAMPLE_RANDOM, spi->dev.driver->name, ts); spi->dev.driver->name, ts);
if (err) { if (err) {
dev_dbg(&spi->dev, "irq %d busy?\n", spi->irq); dev_dbg(&spi->dev, "irq %d busy?\n", spi->irq);
goto err_free_mem; goto err_free_mem;
......
...@@ -448,8 +448,7 @@ static int __devinit ad7879_construct(bus_device *bus, struct ad7879 *ts) ...@@ -448,8 +448,7 @@ static int __devinit ad7879_construct(bus_device *bus, struct ad7879 *ts)
ad7879_setup(ts); ad7879_setup(ts);
err = request_irq(bus->irq, ad7879_irq, err = request_irq(bus->irq, ad7879_irq,
IRQF_TRIGGER_FALLING | IRQF_SAMPLE_RANDOM, IRQF_TRIGGER_FALLING, bus->dev.driver->name, ts);
bus->dev.driver->name, ts);
if (err) { if (err) {
dev_err(&bus->dev, "irq %d busy?\n", bus->irq); dev_err(&bus->dev, "irq %d busy?\n", bus->irq);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册