linux/drivers/power
Gustavo A. R. Silva 33237fb8f0 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: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
2017-01-17 00:28:38 +01:00
..
avs PM / AVS: rockchip-io: make the log more consistent 2016-10-21 14:51:03 +02:00
reset power: reset: at91-poweroff: timely shutdown LPDDR memories 2017-01-16 23:21:33 +01:00
supply power: supply: ab8500_btemp: Compress return logic into one line. 2017-01-17 00:28:38 +01:00
Kconfig power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
Makefile power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00