summaryrefslogtreecommitdiffstats
path: root/tools/spi/spidev_test.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <silvagustavosilva@gmail.com>2017-01-11 20:29:35 -0600
committerSebastian Reichel <sre@kernel.org>2017-01-17 00:28:38 +0100
commit33237fb8f01e525e2677ca7658bea11545446be8 (patch)
tree1c95fac375ee1fa3800ec9fc0655f103859f81d5 /tools/spi/spidev_test.c
parentc0d21f73ae44fd85102ec684b58d9e4f9e78d485 (diff)
downloadlinux-33237fb8f01e525e2677ca7658bea11545446be8.tar.gz
linux-33237fb8f01e525e2677ca7658bea11545446be8.tar.bz2
linux-33237fb8f01e525e2677ca7658bea11545446be8.zip
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>
Diffstat (limited to 'tools/spi/spidev_test.c')
0 files changed, 0 insertions, 0 deletions