From: Matt Mackall The core input layer is already calling add_input_randomness. Signed-off-by: Matt Mackall Cc: Dmitry Torokhov Signed-off-by: Andrew Morton --- drivers/input/touchscreen/ads7846.c | 3 +-- drivers/input/touchscreen/h3600_ts_input.c | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff -puN drivers/input/touchscreen/ads7846.c~random-remove-redundant-sa_sample_random-from-touchscreen-drivers drivers/input/touchscreen/ads7846.c --- devel/drivers/input/touchscreen/ads7846.c~random-remove-redundant-sa_sample_random-from-touchscreen-drivers 2006-05-11 01:47:15.000000000 -0700 +++ devel-akpm/drivers/input/touchscreen/ads7846.c 2006-05-11 01:47:15.000000000 -0700 @@ -770,8 +770,7 @@ static int __devinit ads7846_probe(struc ts->last_msg = m; - if (request_irq(spi->irq, ads7846_irq, - SA_SAMPLE_RANDOM | SA_TRIGGER_FALLING, + if (request_irq(spi->irq, ads7846_irq, SA_TRIGGER_FALLING, spi->dev.bus_id, ts)) { dev_dbg(&spi->dev, "irq %d busy?\n", spi->irq); err = -EBUSY; diff -puN drivers/input/touchscreen/h3600_ts_input.c~random-remove-redundant-sa_sample_random-from-touchscreen-drivers drivers/input/touchscreen/h3600_ts_input.c --- devel/drivers/input/touchscreen/h3600_ts_input.c~random-remove-redundant-sa_sample_random-from-touchscreen-drivers 2006-05-11 01:47:15.000000000 -0700 +++ devel-akpm/drivers/input/touchscreen/h3600_ts_input.c 2006-05-11 01:47:15.000000000 -0700 @@ -399,16 +399,14 @@ static int h3600ts_connect(struct serio set_GPIO_IRQ_edge(GPIO_BITSY_NPOWER_BUTTON, GPIO_RISING_EDGE); if (request_irq(IRQ_GPIO_BITSY_ACTION_BUTTON, action_button_handler, - SA_SHIRQ | SA_INTERRUPT | SA_SAMPLE_RANDOM, - "h3600_action", &ts->dev)) { + SA_SHIRQ | SA_INTERRUPT, "h3600_action", &ts->dev)) { printk(KERN_ERR "h3600ts.c: Could not allocate Action Button IRQ!\n"); err = -EBUSY; goto fail2; } if (request_irq(IRQ_GPIO_BITSY_NPOWER_BUTTON, npower_button_handler, - SA_SHIRQ | SA_INTERRUPT | SA_SAMPLE_RANDOM, - "h3600_suspend", &ts->dev)) { + SA_SHIRQ | SA_INTERRUPT, "h3600_suspend", &ts->dev)) { printk(KERN_ERR "h3600ts.c: Could not allocate Power Button IRQ!\n"); err = -EBUSY; goto fail3; _