diff options
| author | 2015-03-12 19:10:31 +0200 | |
|---|---|---|
| committer | 2015-03-16 16:11:40 +0100 | |
| commit | da29461ccdf811b27a1cf53483ec2457fb4a6ae7 (patch) | |
| tree | 70175a782a89f1c143982086e7d767a55a22b059 /scripts | |
| parent | Staging: iio: Remove parentheses around right side an assignment (diff) | |
Staging: iio: Simplify return logic
This patch removes the conditional return of the ade77*_probe functions
based on the return values of iio_device_register as the latter
returns 0 or ret, the same as the checked values.
Warning found by coccinelle.
Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
