pinctrl: propagate map validation errors
authorStephen Warren <swarren@nvidia.com>
Wed, 25 Apr 2012 16:32:16 +0000 (10:32 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Apr 2012 08:49:28 +0000 (10:49 +0200)
commitfde04f419a230fb7f7dc018a9deca6f5d431831e
treeaf45fe8050d4d15b427cc7f11bdc502d06270d60
parentdd5127010afa560b1cfde7e2cffeadabdd20885d
pinctrl: propagate map validation errors

pinctrl_register_map() was returning early if pinmux_validate_map() or
pinconf_validate_map() failed, but was not actually returning the error
code.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c