mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
In case of error, the function platform_device_register_resndata() 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>