aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVasileios Amoiridis <[email protected]>2024-09-13 01:59:24 +0200
committerGreg Kroah-Hartman <[email protected]>2024-10-13 17:16:28 +0200
commit2d23bc3c14fb6b08232f267bf15cf40cfce783b5 (patch)
tree5d7a583fe242d4fd599bfb4bd7ba0b122ce29bc4 /tools/perf/scripts/python/exported-sql-viewer.py
parent1bca6ee0d077abbaafa4ab1167d6d31659c1edbb (diff)
uio: uio_dmem_genirq: Make use of irq_get_trigger_type()
Convert the following case: struct irq_data *irq_data = irq_get_irq_data(irq); if (irq_data && irqd_get_trigger_type(irq_data) ... ) { ... } to the simpler: if (irq_get_trigger_type(irq) ... ) { ... } by using the irq_get_trigger_type() function. Suggested-by: Andy Shevchenko <[email protected]> Signed-off-by: Vasileios Amoiridis <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions