summaryrefslogtreecommitdiff
path: root/drivers/iio/light/tcs3472.c
diff options
context:
space:
mode:
authorMaxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>2018-07-31 16:13:21 -0400
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-08-01 19:01:35 +0100
commit496fb59e1274086d0c67681fb1369e9941660dd9 (patch)
treef1548abc1e4d778c52fe737b122a1bde026d2e79 /drivers/iio/light/tcs3472.c
parent2b4ec22d36d46d03d01d1ec2436080d982284f36 (diff)
iio: light: si1133: fix uninitialized resp variable
Read response register to detect any error. Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/light/tcs3472.c')
0 files changed, 0 insertions, 0 deletions