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

Signed-off-by: Soren Brinkmann <[email protected]>
---
 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

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

Reply via email to