set_irq_type(kp->irq, IRQT_FALLING);
- r = request_irq(kp->irq, tsc2301_kp_irq_handler, SA_SAMPLE_RANDOM,
+ r = request_irq(kp->irq, tsc2301_kp_irq_handler, IRQF_SAMPLE_RANDOM,
"tsc2301-kp", tsc);
if (r < 0) {
dev_err(&tsc->spi->dev, "unable to get kbirq IRQ");
ts->irq_enabled = 1;
r = request_irq(ts->irq, tsc2301_ts_irq_handler,
- SA_SAMPLE_RANDOM | SA_TRIGGER_FALLING,
+ IRQF_SAMPLE_RANDOM | IRQF_TRIGGER_FALLING,
"tsc2301-ts", tsc);
if (r < 0) {
dev_err(&tsc->spi->dev, "unable to get DAV IRQ");
omap_set_gpio_direction(info->gpio_irq, 1);
if ((r = request_irq(OMAP_GPIO_IRQ(info->gpio_irq),
- omap2_onenand_interrupt, SA_TRIGGER_RISING,
+ omap2_onenand_interrupt, IRQF_TRIGGER_RISING,
pdev->dev.driver->name, info)) < 0)
goto err_release_gpio;