Commit c4c2349a authored by Shiv Maliyappanahalli's avatar Shiv Maliyappanahalli
Browse files

msm: audio: qdsp6v2: Use IS_ERR instead of NULL ptr check



pil_get() returns ERR_PTR and hence NULL pointer check should
be replaced with IS_ERR to check for errors.

Change-Id: I87713ab1369921b4d3452f734bbe2ce1e20c0b01
Signed-off-by: default avatarShiv Maliyappanahalli <smaliyap@codeaurora.org>
parent 3cd33861
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment