pinctrl: error if mapping table's control dev can't be found
authorStephen Warren <swarren@nvidia.com>
Mon, 20 Feb 2012 06:45:53 +0000 (23:45 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Feb 2012 16:59:34 +0000 (17:59 +0100)
commitb1eed4ece7064c361d6e03f6706d90e4e9dd7e96
tree10dfd6a834d180a7a0eaa3515bf78fdf97de65d3
parentf026fe3d102e9d7f0d040109353ef5a97b5ef92c
pinctrl: error if mapping table's control dev can't be found

This is a serious error, and the pin control system will not function
correctly if it ends up not programing the mapping table entries into
the HW. Instead of just ignoring this, error out.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
[rebased to fit the applied patch series, cast error to pointer]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c