Documentation: pinctrl: Fix example code for pinctrl_register
authorAxel Lin <axel.lin@ingics.com>
Sun, 18 Aug 2013 12:43:33 +0000 (20:43 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Aug 2013 06:56:28 +0000 (08:56 +0200)
commite2b86b8481502f3f3039a31aa1a85b8a29e246f1
tree14e317f96ed67790ef52a9302b3c2ae5b9656bcb
parent5ffbe2e613873222474a0f575296187002a8995d
Documentation: pinctrl: Fix example code for pinctrl_register

pinctrl_register() returns NULL on error, fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/pinctrl.txt