staging: dgnc: Check sscanf return value
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>
Fri, 19 Sep 2014 21:01:39 +0000 (00:01 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 00:25:23 +0000 (17:25 -0700)
commitfb33aa47a00edc789d17d80174cd3ed8a1c82c66
treeaa79af9f900319c54c03d3b3d635a23375e273fe
parentf23e875fd26a05a0850db7c5e090030c80b4f583
staging: dgnc: Check sscanf return value

This fixes the following checkpatch.pl warnings:
WARNING: unchecked sscanf return value

Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_sysfs.c