diff options
author | Dan Carpenter <error27@gmail.com> | 2023-01-23 16:07:07 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2023-03-06 09:42:32 +0100 |
commit | 8ab5059dc4f4c34325eba6270ef12a4ab1386019 (patch) | |
tree | cea3b14e2ff788b0b2efcb164219be240cfc2272 /drivers | |
parent | Linux 6.3-rc1 (diff) | |
download | linux-8ab5059dc4f4c34325eba6270ef12a4ab1386019.tar.xz linux-8ab5059dc4f4c34325eba6270ef12a4ab1386019.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/firmware/arm_scmi/driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/arm_scmi/driver.c b/drivers/firmware/arm_scmi/driver.c index d21c7eafd641..703f16ef3953 100644 --- a/drivers/firmware/arm_scmi/driver.c +++ b/drivers/firmware/arm_scmi/driver.c @@ -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. */ |