Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3aa23cca authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: qcom: msm-pm: Correct check for not null"

parents 31ca3a6a e52bf3ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -550,7 +550,7 @@ static int msm_cpu_status_probe(struct platform_device *pdev)
	u32 cpu;
	int rc;

	if (!pdev | !pdev->dev.of_node)
	if (!pdev || !pdev->dev.of_node)
		return -EFAULT;

	msm_pm_slp_sts = devm_kzalloc(&pdev->dev,