]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: iio: return expression instead of return ret
authorBo Yu <tsu.yubo@gmail.com>
Fri, 10 Mar 2017 03:57:38 +0000 (22:57 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sat, 11 Mar 2017 18:24:38 +0000 (18:24 +0000)
commit51a6918796e9be091fedf8e7fc14755f4c575ef5
treef5c5d6efaf7b8ebf303e19f4ecf283f0fbe86e9a
parentf9bd75eb6e299a9ee7e3135b3fdf2c58ae95e5f7
Staging: iio: return expression instead of return ret

The following Coccinelle script was used to detect this:

@@
local idexpression ret;
expression e;
@@

-ret =
+return
       e;
-return ret;

Signed-off-by: Bo YU <tsu.yubo@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/meter/ade7754.c