summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-single.c
diff options
context:
space:
mode:
authorAxel Haslam <ahaslam@baylibre.com>2016-11-09 15:54:01 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-11-11 21:29:37 +0100
commitdd68a526c7ec0ee3eab13848f6f97bddd3346066 (patch)
tree420e6778515ef0dd941f06fd55fcb526ce468cb7 /drivers/pinctrl/pinctrl-single.c
parentde7416bcee3f7c9004fff92795a03a46f3f40316 (diff)
downloadlinux-dd68a526c7ec0ee3eab13848f6f97bddd3346066.tar.bz2
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 <ahaslam@baylibre.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-single.c')
-rw-r--r--drivers/pinctrl/pinctrl-single.c2
1 files changed, 1 insertions, 1 deletions
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;