Skip to content
Commit 2e539b73 authored by Tom Rix's avatar Tom Rix Committed by Bartosz Golaszewski
Browse files

gpio: tegra186: remove unneeded loop in tegra186_gpio_init_route_mapping()



Reviewing the j loop over num_irqs_per_bank, in the code previous
to the fixes: commit, every j was used. now only when j == 0.
If only j == 0 is used, there is no need for the loop.

Fixes: 21038680 ("gpio: tegra186: Support multiple interrupts per bank")
Signed-off-by: default avatarTom Rix <trix@redhat.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent eed5a3bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment