As proposed by Juha Yrjölä.
Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
isp->timer.data = (unsigned long) isp;
isp->irq = -1;
- isp->irq_type = SA_SAMPLE_RANDOM;
+ isp->irq_type = 0;
isp->client.addr = address;
i2c_set_clientdata(&isp->client, isp);
isp->client.adapter = bus;
return 0;
}
- tps->irq_type = SA_SAMPLE_RANDOM;
+ tps->irq_type = 0;
#ifdef CONFIG_ARM
if (machine_is_omap_h2()) {
/* request irq */
if (ts_omap.irq != -1) {
- if (request_irq(ts_omap.irq, omap_ts_handler, ts_omap.irq_type,
+ if (request_irq(ts_omap.irq, omap_ts_handler,
+ SA_SAMPLE_RANDOM | ts_omap.irq_type,
OMAP_TS_NAME, &ts_omap)) {
printk(KERN_ERR
"omap_ts.c: Could not allocate touchscreen IRQ!\n");
return -ENODEV;
ts->irq = OMAP1510_INT_FPGA_TS;
- ts->irq_type = SA_SAMPLE_RANDOM;
+ ts->irq_type = 0;
return 0;
}