15 Dec
2014
15 Dec
'14
7:21 p.m.
On Tue, Dec 09, 2014 at 09:14:37PM +0800, weiyj_lk@163.com wrote:
From: Wei Yongjun yongjun_wei@trendmicro.com.cn
In case of error, the function platform_device_register_data() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR().
Applied, thanks.