Staging: iio: Documentation: Simplify error handling.
authorHeena Sirwani <heenasirwani@gmail.com>
Mon, 6 Oct 2014 11:34:10 +0000 (17:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:08 +0000 (10:29 +0800)
commitedead9b1f9fa1e28e493ccaa831d0ac7aa0de74b
tree7a177a71f27ccf3f9c653b6fcdfda2b17ee50e97
parentd1e5041345d3976af580d9ac9728e1819b458e3c
Staging: iio: Documentation: Simplify error handling.

This also has the nice effect of removing of a temporary variable from stack and
fixes the following checkpatch.pl warning:
WARNING: Missing blank line after declarations.

Signed-off-by: Heena Sirwani <heenasirwani@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/Documentation/lsiio.c