Wei Yongjun fafdbabaf5 watchdog: pic32-dmt: Fix return value check in pic32_dmt_probe()
In case of error, the function devm_kzalloc() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should
be replaced with NULL test.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2016-07-17 21:01:49 +02:00
..
2016-05-14 18:25:49 +02:00
2015-02-17 21:32:08 +01:00
2013-12-10 08:48:15 +01:00
2016-05-14 18:25:56 +02:00
2016-01-31 11:06:24 -08:00
2014-03-31 13:28:20 +02:00