git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5db4851
)
Staging: iio: Simplify return logic
author
Cristina Opriceana
<cristina.opriceana@gmail.com>
Thu, 12 Mar 2015 17:10:31 +0000
(19:10 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 16 Mar 2015 15:11:40 +0000
(16:11 +0100)
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>
No differences found