25 Oct
2013
25 Oct
'13
12:26 p.m.
On Fri, Oct 25, 2013 at 05:06:24PM +0800, Wei Yongjun wrote:
From: Wei Yongjun yongjun_wei@trendmicro.com.cn
In case of error, the function platform_device_alloc() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test.
Applied, thanks.