From: Joe Perches Date: Tue, 4 Jun 2013 14:44:00 +0000 (+0100) Subject: inkern: iio_device_put after incorrect return/goto X-Git-Tag: v3.10-rc5~18^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e916b80d2b1988e985abc0a1c85eca5b96c61f48;p=pandora-kernel.git inkern: iio_device_put after incorrect return/goto The code uses return foo; goto err_type; when instead the form should have been ret = foo; goto err_type; Here this causes a useful iio_device_put to be skipped. Signed-off-by: Joe Perches Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed