pinctrl: add some error checking for user interfaces
authorDong Aisheng <dong.aisheng@linaro.org>
Tue, 10 Apr 2012 04:41:34 +0000 (12:41 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 18 Apr 2012 11:53:11 +0000 (13:53 +0200)
This patch can avoid kernel oops in case the mux or config
function is not supported by driver.

Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found