iio: imu: check sscanf return value
authorIoana Ciornei <ciorneiioana@gmail.com>
Sun, 1 Nov 2015 12:58:45 +0000 (14:58 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 8 Nov 2015 15:44:10 +0000 (15:44 +0000)
commit72a868b38bdd60cbc4084a91fd7b8df3e2bb96ba
tree8e7ff9ec5d6ce43c24005d648fd82f04ad970c78
parenta106b4748917ba510d083217dbc25e56299f32d4
iio: imu: check sscanf return value

This patch fixes the following checkpatch warning:
WARNING: unchecked sscanf return value

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/adis16400_core.c
drivers/iio/imu/adis16480.c