Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 33237fb8 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Sebastian Reichel
Browse files

power: supply: ab8500_btemp: Compress return logic into one line.



Simplify return logic to avoid unnecessary variable assignments.
These issues were detected using Coccinelle and the following semantic patch:

@@
local idexpression ret;
expression e;
@@

-ret =
+return
     e;
-return ret;

Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent c0d21f73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment