Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1228901 > unrolled thread

[PATCH] pinctrl: sort dt_params array in the same order as pin_config_param

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2015-09-20 18:30 +0200
Last post2015-09-20 18:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] pinctrl: sort dt_params array in the same order as pin_config_param Masahiro Yamada <yamada.masahiro@socionext.com> - 2015-09-20 18:30 +0200

#1228901 — [PATCH] pinctrl: sort dt_params array in the same order as pin_config_param

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2015-09-20 18:30 +0200
Subject[PATCH] pinctrl: sort dt_params array in the same order as pin_config_param
Message-ID<qaPEZ-55P-1@gated-at.bofh.it>
Sort this array in the same order as enum pin_config_param and
conf_items array for consistency.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/pinctrl/pinconf-generic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c
index e63ad9f..f0bc8bb 100644
--- a/drivers/pinctrl/pinconf-generic.c
+++ b/drivers/pinctrl/pinconf-generic.c
@@ -166,11 +166,11 @@ static const struct pinconf_generic_params dt_params[] = {
 	{ "input-schmitt-disable", PIN_CONFIG_INPUT_SCHMITT_ENABLE, 0 },
 	{ "input-debounce", PIN_CONFIG_INPUT_DEBOUNCE, 0 },
 	{ "power-source", PIN_CONFIG_POWER_SOURCE, 0 },
+	{ "slew-rate", PIN_CONFIG_SLEW_RATE, 0 },
 	{ "low-power-enable", PIN_CONFIG_LOW_POWER_MODE, 1 },
 	{ "low-power-disable", PIN_CONFIG_LOW_POWER_MODE, 0 },
 	{ "output-low", PIN_CONFIG_OUTPUT, 0, },
 	{ "output-high", PIN_CONFIG_OUTPUT, 1, },
-	{ "slew-rate", PIN_CONFIG_SLEW_RATE, 0},
 };
 
 /**
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web