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)
commit953e9e93862871e005bdcde3b98db822d12185a8
tree7000df3e63011dfd6abcb41d3bd1f1788f4020e1
parente7ed671825d7d8ee7225a9e1de997d643e6d5d69
pinctrl: nomadik: Prevent NULL dereference if of_match_device returns NULL

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>
drivers/pinctrl/pinctrl-nomadik.c
This page took 0.024925 seconds and 5 git commands to generate.