OSDN Git Service

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)
commit0a124e98f4a5b9b03950af02a57a067ccc1016c1
treef5c5d6efaf7b8ebf303e19f4ecf283f0fbe86e9a
parent3a1e3293857568f04b8886246b7a0fec130f5055
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