commit | 36736cc66bcedcd25b65faff43e352491409971f | [log] [tgz] |
---|---|---|
author | kbuild test robot <fengguang.wu@intel.com> | Tue Sep 22 10:16:48 2015 +0800 |
committer | Jonathan Cameron <jic23@kernel.org> | Wed Sep 23 20:23:28 2015 +0100 |
tree | 9957d188fc1f7dabe96b4b3d5445e54a2913309e | |
parent | 9214185b515ed550fe67c912ca446b4524f01603 [diff] |
iio: adc: vf610: fix simple_return.cocci warnings drivers/iio/adc/vf610_adc.c:766:1-4: WARNING: end returns can be simpified and declaration on line 755 can be dropped Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Sanchayan Maity <maitysanchayan@gmail.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>