pinctrl: downgrade pinctrl_get warning when no maps are found
authorStephen Warren <swarren@nvidia.com>
Mon, 20 Feb 2012 06:45:51 +0000 (23:45 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Feb 2012 16:59:34 +0000 (17:59 +0100)
commitf026fe3d102e9d7f0d040109353ef5a97b5ef92c
tree721b39699b68b66d361e4bc8cadc90ed56c45a94
parent9891d98c7ab5712807d87ab40f2a9acd9b317114
pinctrl: downgrade pinctrl_get warning when no maps are found

This may be perfectly legitimate. An IP block may get re-used
across SoCs. Not all of those SoCs may need pinmux settings for the
IP block, e.g. if one SoC dedicates pins to that function but
another doesn't. The driver won't know this, and will always
attempt to set up the pinmux. The mapping table defines whether any
HW programming is actually needed.

Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
[rebased to fit the applied patch series]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c