diff options
| author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2022-05-11 13:06:09 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-19 17:20:59 +0100 |
| commit | 88cb99daa2b57360d295f2e8642edb740a9bca71 (patch) | |
| tree | 3c9df2bd4991345577a64eb28aaad2978371cf5f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | proximity: vl53l0x: Make VDD regulator actually optional (diff) | |
| download | linux-88cb99daa2b57360d295f2e8642edb740a9bca71.tar.gz linux-88cb99daa2b57360d295f2e8642edb740a9bca71.zip | |
iio: adc: stm32-adc: Use generic_handle_domain_irq()
The call chain
generic_handle_irq(irq_find_mapping(domain, x));
could be replaced with
generic_handle_domain_irq(domain, x);
which looks up the struct irq_desc for the interrupt and handles it with
handle_irq_desc().
This is a slight optimisation given that the driver invokes only one
function and the struct irq_desc is used directly instead being looked
up via irq_to_desc().
Use generic_handle_domain_irq().
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/YnuYoQIzJoFIyEJY@linutronix.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
