summaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro
diff options
context:
space:
mode:
authorDan Carpenter2016-04-22 12:04:14 +0200
committerJonathan Cameron2016-04-23 23:18:09 +0200
commitf21122593d99c7e051891da1b148c771b7d56e07 (patch)
tree01fd6b7cb33aee40d30c7da8d32af3051e292663 /drivers/iio/gyro
parentiio:imu:mpu6050: enhance mounting matrix support (diff)
downloadkernel-qcow2-linux-f21122593d99c7e051891da1b148c771b7d56e07.tar.gz
kernel-qcow2-linux-f21122593d99c7e051891da1b148c771b7d56e07.tar.xz
kernel-qcow2-linux-f21122593d99c7e051891da1b148c771b7d56e07.zip
iio: light: apds9960: silence uninitialized variable warning
It causes a static checker warning if we use "buf" on the failure path so move that inside the if statement. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/gyro')
0 files changed, 0 insertions, 0 deletions