Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: remove IRQF_SAMPLE_RANDOM which is now a no-op

With the changes in the random tree, IRQF_SAMPLE_RANDOM is now a
no-op; interrupt randomness is now collected unconditionally in a very
low-overhead fashion; see commit 775f4b297b. The IRQF_SAMPLE_RANDOM
flag was scheduled to be removed in 2009 on the
feature-removal-schedule, so this patch is preparation for the final
removal of this flag.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Samuel Ortiz <sameo@linux.intel.com>

+1 -2
+1 -2
drivers/mfd/tps65010.c
··· 563 563 */ 564 564 if (client->irq > 0) { 565 565 status = request_irq(client->irq, tps65010_irq, 566 - IRQF_SAMPLE_RANDOM | IRQF_TRIGGER_FALLING, 567 - DRIVER_NAME, tps); 566 + IRQF_TRIGGER_FALLING, DRIVER_NAME, tps); 568 567 if (status < 0) { 569 568 dev_dbg(&client->dev, "can't get IRQ %d, err %d\n", 570 569 client->irq, status);