commit | e448e2d14905d3d45c07fcac5b6d652283ba55b0 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <silvagustavosilva@gmail.com> | Wed Jan 11 20:45:57 2017 -0600 |
committer | Sebastian Reichel <sre@kernel.org> | Tue Jan 17 00:29:16 2017 +0100 |
tree | f33cbae402150e8f7d48936b5bcd07a3fc8d9eaf | |
parent | 33237fb8f01e525e2677ca7658bea11545446be8 [diff] |
power: supply: pcf50633-charger: 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: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>