From 6240d691be7dfb8bc6be0ff84ac567ea434401a8 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Mon, 14 Apr 2014 15:33:40 -0600 Subject: 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 Acked-by: Laxman Dewangan Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-tegra.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/pinctrl/pinctrl-tegra.h') diff --git a/drivers/pinctrl/pinctrl-tegra.h b/drivers/pinctrl/pinctrl-tegra.h index 7262ba8ebade..08a2e55d47b5 100644 --- a/drivers/pinctrl/pinctrl-tegra.h +++ b/drivers/pinctrl/pinctrl-tegra.h @@ -127,7 +127,6 @@ struct tegra_pingroup { const unsigned *pins; unsigned npins; unsigned funcs[4]; - unsigned func_safe; s16 mux_reg; s16 pupd_reg; s16 tri_reg; -- cgit v1.2.1