Wei Yongjun 00cf99ee00 pwm: renesas-tpu: fix return value check in tpu_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2013-06-25 12:20:06 +02:00
..
2013-06-21 11:32:51 +02:00
2013-06-21 11:33:28 +02:00
2013-06-21 11:33:28 +02:00
2013-06-12 13:18:29 +02:00
2013-06-12 13:18:29 +02:00
2012-11-28 12:23:41 -08:00
2013-06-12 13:18:29 +02:00
2013-06-12 13:18:29 +02:00
2013-06-12 13:18:29 +02:00
2013-06-12 13:18:29 +02:00
2013-04-23 07:42:20 +02:00
2013-04-23 07:42:20 +02:00
2013-06-21 11:32:51 +02:00