[PATCH RFC v2 7/8] pinctrl: zynq: Use generic map_all function

Soren Brinkmann soren.brinkmann at xilinx.com
Thu Oct 16 10:11:34 PDT 2014


Use the generic pinconf_generic_dt_node_to_map_all() function
to parse config and mux settings from DT.

Signed-off-by: Soren Brinkmann <soren.brinkmann at xilinx.com>
---
 drivers/pinctrl/pinctrl-zynq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c
index 0136bddbb4be..743a6f563c1e 100644
--- a/drivers/pinctrl/pinctrl-zynq.c
+++ b/drivers/pinctrl/pinctrl-zynq.c
@@ -790,7 +790,7 @@ static const struct pinctrl_ops zynq_pctrl_ops = {
 	.get_groups_count = zynq_pctrl_get_groups_count,
 	.get_group_name = zynq_pctrl_get_group_name,
 	.get_group_pins = zynq_pctrl_get_group_pins,
-	.dt_node_to_map = pinconf_generic_dt_node_to_map_group,
+	.dt_node_to_map = pinconf_generic_dt_node_to_map_all,
 	.dt_free_map = pinctrl_utils_dt_free_map
 };
 
-- 
2.1.2.1.g5e69ed6




More information about the linux-arm-kernel mailing list