pinctrl: tegra: remove fsafe from data tables
authorStephen Warren <swarren@nvidia.com>
Mon, 14 Apr 2014 21:33:40 +0000 (15:33 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Apr 2014 14:50:24 +0000 (16:50 +0200)
commit6240d691be7dfb8bc6be0ff84ac567ea434401a8
tree0663cc23e422cca84d8e423fdecddaab1dbb5dda
parente53b797474ac61debd6e7c186285c8cc24a3a166
pinctrl: tegra: remove fsafe from data tables

The fsafe value in the pingroup data tables is only used to implement
tegra_pinctrl_disable(). The only reason this function is called is when
dynamically switching between pinmux states, i.e. when disabling the old
state before programming the new state. It's simpler to have the new
target state define the expected value of each pin (and all current DTs
do that). This also gives more flexibility, since it allows individual
boards explicit control over the "inactive" mux function for each pin,
rather than requiring it to be an SoC-specific value. Assuming this, we
can get rid of the fsafe value from the driver completely, thus saving
some more space in the driver tables.

While re-writing the content of tegra124_pingroups[], fix the indentation
to use a TAB instead of spaces.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-tegra.c
drivers/pinctrl/pinctrl-tegra.h
drivers/pinctrl/pinctrl-tegra114.c
drivers/pinctrl/pinctrl-tegra124.c
drivers/pinctrl/pinctrl-tegra20.c
drivers/pinctrl/pinctrl-tegra30.c