Axel Lin 8d8ee18cc7 gpio: xgene: Prevent NULL pointer dereference
platform_get_resource() can return NULL, thus add NULL test to prevent NULL
pointer dereference.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-03-30 10:39:39 +02:00
..
2016-01-05 11:21:05 +01:00
2016-02-16 00:19:53 +01:00
2016-01-05 15:46:34 +01:00
2016-03-09 22:02:52 +07:00
2016-01-05 11:21:19 +01:00
2016-03-18 10:15:11 -07:00
2016-03-18 10:15:11 -07:00