[PATCH] firmware: arm_scmi: return a literal instead of a variable

Sudeep Holla sudeep.holla at arm.com
Thu Mar 9 06:10:17 PST 2023


On Wed, 22 Feb 2023 18:17:06 +0300, Dan Carpenter wrote:
> In this context "return scmi_dev;" and "return NULL;" are equivalent
> but it is more readable to return a literal.
> 

Applied to sudeep.holla/linux (for-next/scmi/fixes), thanks!

[1/1] firmware: arm_scmi: return a literal instead of a variable
      https://git.kernel.org/sudeep.holla/c/6bed395d7db2
--
Regards,
Sudeep




More information about the linux-arm-kernel mailing list