Staging: iio: Documentation: Added check for sscanf return value.
authorHeena Sirwani <heenasirwani@gmail.com>
Mon, 6 Oct 2014 11:34:43 +0000 (17:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:08 +0000 (10:29 +0800)
commitd0e68ce1999e34a29d6b71ced4088d0f916878d4
tree464a8732213df23fe6140bfe5bf1575cbc846ebf
parentedead9b1f9fa1e28e493ccaa831d0ac7aa0de74b
Staging: iio: Documentation: Added check for sscanf return value.

The following patch fixes the following checkpatch.pl warning by adding
a check for sscanf return value.
WARNING: unchecked sscanf return value.

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