From: Cristina Opriceana Date: Thu, 12 Mar 2015 17:10:31 +0000 (+0200) Subject: Staging: iio: Simplify return logic X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~390 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da29461ccdf811b27a1cf53483ec2457fb4a6ae7;p=pandora-kernel.git 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 Reviewed-by: Daniel Baluta Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed