summaryrefslogtreecommitdiff
path: root/drivers/iio/imu
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2015-01-02 12:02:55 +0300
committerJonathan Cameron <jic23@kernel.org>2015-02-04 00:03:20 +0300
commit1e716a15ce5e5840cac0fb4cd6ca79d70d3568a9 (patch)
tree1fde8ea601297ff91663e0683b139d10b2b494d4 /drivers/iio/imu
parentabe4e26bb7edb7b36ef99e2e78e86de79b18f922 (diff)
downloadlinux-1e716a15ce5e5840cac0fb4cd6ca79d70d3568a9.tar.xz
iio: meter: ade7759: add error handling in _reset and _stop_device
This patch adds the error handling for the value returned from ade7759_spi_read_reg_16. With this patch, the following randconfig warnings get fixed automatically. drivers/staging/iio/meter/ade7759.c:224:6: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/staging/iio/meter/ade7759.c:309:6: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/imu')
0 files changed, 0 insertions, 0 deletions