pinctrl: nomadik: Prevent NULL dereference if of_match_device returns NULL
authorAxel Lin <axel.lin@ingics.com>
Thu, 15 Nov 2012 04:56:05 +0000 (12:56 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Nov 2012 15:50:15 +0000 (16:50 +0100)
of_match_device() may return NULL.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found