pinctrl: tegra: Pass struct tegra_pmx for pin range check
authorThierry Reding <treding@nvidia.com>
Thu, 19 Mar 2020 12:27:34 +0000 (13:27 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Mar 2020 10:42:32 +0000 (11:42 +0100)
commit6e01e0c7a0bebd8626e651181d3592cea8d456c4
tree1dec448b06004b48ca4691587d11f004b0e5fd47
parent66539e6eac708d47b5db8909b08cf9fbeac8a1db
pinctrl: tegra: Pass struct tegra_pmx for pin range check

Pass the struct tegra_pmx when checking for the pin range in device
tree. This makes the call site a bit easier to read and will help keep
that readability in a subsequent patch.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20200319122737.3063291-7-thierry.reding@gmail.com
Tested-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/tegra/pinctrl-tegra.c