diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-10-19 10:31:38 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-10-20 10:24:03 +0200 |
| commit | eb7f1c8415bbbb81f8674a490a5da7c22599a012 (patch) | |
| tree | 4fa0ccf0072558a07a9304d29359cce8de8556d9 /drivers/gpio/gpio-aspeed.c | |
| parent | 6f5976c0cc0977b1fd168d6ecbf3fb36cf041524 (diff) | |
gpio: mvebu: Slightly optimize mvebu_gpio_irq_handler()
In the main loop of mvebu_gpio_irq_handler() some calls to
irq_find_mapping() can be saved.
There is no point to find an irq number before checking if this something
has to be done.
By testing first, some calls can be saved.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/7190f5def0489ed3f40435449c86cd7c710e6dd4.1760862679.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-aspeed.c')
0 files changed, 0 insertions, 0 deletions