Krzysztof Kozlowski 015403145a gpio: etraxfs: Fix devm_ioremap_resource return value check
Value returned by devm_ioremap_resource() was checked for non-NULL but
devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of
error this could lead to dereference of ERR_PTR.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-07-17 09:48:00 +02:00
..
2015-03-17 17:45:59 +01:00
2014-12-14 16:10:09 -08:00
2015-05-13 10:02:12 +02:00
2015-06-16 11:00:06 +02:00
2015-05-06 15:33:48 +02:00
2015-06-16 11:00:06 +02:00
2015-05-05 17:50:07 +02:00
2015-05-06 15:33:48 +02:00
2015-05-06 15:33:48 +02:00
2015-05-06 15:33:48 +02:00
2015-01-22 09:45:24 +01:00
2014-12-14 16:10:09 -08:00