pinctrl: vt8500: wmt: Fix checking return value of pinctrl_register()
authorAxel Lin <axel.lin@ingics.com>
Tue, 9 Apr 2013 15:59:58 +0000 (23:59 +0800)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 15:16:36 +0000 (17:16 +0200)
commit1f1a73571cb64713641cb75690c4686a4cabc96d
tree52f92f9bbe8002c80f3cdeb5661e259b1afa9d3e
parent0dc488e778069b208d09516c5f0793dc37023c8e
pinctrl: vt8500: wmt: Fix checking return value of pinctrl_register()

pinctrl_register() returns NULL on error.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/pinctrl/vt8500/pinctrl-wmt.c