firmware: arm_scmi: Clean up a return statement in scmi_probe

The comments say "enabled" where "disabled" is intended.  Also it's
cleaner to return zero explicitly instead of ret.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/r/Y86im5M49p3ePGxj@kili
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
This commit is contained in:
Dan Carpenter
2023-03-06 08:42:32 +00:00
committed by Sudeep Holla
parent fe15c26ee2
commit 8ab5059dc4
+2 -2
View File
@@ -2739,8 +2739,8 @@ static int scmi_probe(struct platform_device *pdev)
if (ret)
goto clear_dev_req_notifier;
/* Bail out anyway when coex enabled */
return ret;
/* Bail out anyway when coex disabled. */
return 0;
}
/* Coex enabled, carry on in any case. */