Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dmaengine: qcom_hidma: fix return value check in hidma_mgmt_of_popula…
…te_channels() In case of error, the function platform_device_register_full() 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> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
- Loading branch information