Commit 8ab5059d authored by Dan Carpenter's avatar Dan Carpenter Committed by Sudeep Holla

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: default avatarDan Carpenter <error27@gmail.com>
Link: https://lore.kernel.org/r/Y86im5M49p3ePGxj@kiliSigned-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent fe15c26e
...@@ -2739,8 +2739,8 @@ static int scmi_probe(struct platform_device *pdev) ...@@ -2739,8 +2739,8 @@ static int scmi_probe(struct platform_device *pdev)
if (ret) if (ret)
goto clear_dev_req_notifier; goto clear_dev_req_notifier;
/* Bail out anyway when coex enabled */ /* Bail out anyway when coex disabled. */
return ret; return 0;
} }
/* Coex enabled, carry on in any case. */ /* Coex enabled, carry on in any case. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment