From dd68a526c7ec0ee3eab13848f6f97bddd3346066 Mon Sep 17 00:00:00 2001 From: Axel Haslam Date: Wed, 9 Nov 2016 15:54:01 +0100 Subject: [PATCH] pinctrl: single: search for the bits property when parsing bits The pcs_parse_bits_in_pinctrl_entry function should search for the "pinctrl-single,bits" and not "pinctrl-single,pins" Signed-off-by: Axel Haslam Acked-by: Tony Lindgren Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-single.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index f36a9f1f3949..2b196e53d937 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -1223,7 +1223,7 @@ static int pcs_parse_bits_in_pinctrl_entry(struct pcs_device *pcs, unsigned *num_maps, const char **pgnames) { - const char *name = "pinctrl-single,pins"; + const char *name = "pinctrl-single,bits"; struct pcs_func_vals *vals; int rows, *pins, found = 0, res = -ENOMEM, i; int npins_in_row; -- 2.45.2