mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
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:
parent
fe15c26ee2
commit
8ab5059dc4
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user