summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/tegra
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-05-12 15:42:49 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-05-30 09:41:46 +0200
commitb47fca5148c6e616b02e527c30ef7260b58ac55b (patch)
treeb2ff99afea3b03effb80632ab5b202c245e4d9cc /drivers/pinctrl/tegra
parentRevert "Revert "pinctrl: tegra: avoid parked_reg and parked_bank"" (diff)
downloadlinux-b47fca5148c6e616b02e527c30ef7260b58ac55b.tar.xz
linux-b47fca5148c6e616b02e527c30ef7260b58ac55b.zip
pinctrl: tegra: Get rid of parked_reg
Remove the use of parked_reg and use parked_bit for to know whether field is supported or not. This is fix for the patch commit 1d18a3f0f0809f6c71f1f6e9e268ee904ce0b588 "pinctrl: tegra: avoid parked_reg and parked_bank Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/tegra')
-rw-r--r--drivers/pinctrl/tegra/pinctrl-tegra20.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/tegra/pinctrl-tegra20.c b/drivers/pinctrl/tegra/pinctrl-tegra20.c
index 91254d04c64f..ad62451a5a9b 100644
--- a/drivers/pinctrl/tegra/pinctrl-tegra20.c
+++ b/drivers/pinctrl/tegra/pinctrl-tegra20.c
@@ -2030,7 +2030,7 @@ static struct tegra_function tegra20_functions[] = {
.tri_reg = -1, \
.drv_reg = ((r) - PINGROUP_REG_A), \
.drv_bank = 3, \
- .parked_reg = -1, \
+ .parked_bit = -1, \
.hsm_bit = hsm_b, \
.schmitt_bit = schmitt_b, \
.lpmd_bit = lpmd_b, \