summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorShreeya Patel <shreeya.patel23498@gmail.com>2018-11-17 04:19:07 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-17 20:37:56 +0100
commit1473301fc47c1975a5c31795c5d5d735c96862f2 (patch)
tree86b4d2eba3a8f4ba55fb6dc8d4f4ee1c9abe081b /mm
parent6aee64a401e4e5a1ca4351e5aa3336a77a3dab03 (diff)
Staging: iio: adt7316: Fix i2c data reading, set the data field
[ Upstream commit 688cd642ba0c393344c802647848da5f0d925d0e ] adt7316_i2c_read function nowhere sets the data field. It is necessary to have an appropriate value for it. Hence, assign the value stored in 'ret' variable to data field. This is an ancient bug, and as no one seems to have noticed, probably no sense in applying it to stable. Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions