summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShreeya Patel <shreeya.patel23498@gmail.com>2018-11-17 01:49:07 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-11-17 19:57:09 +0300
commit688cd642ba0c393344c802647848da5f0d925d0e (patch)
treeb2f6f8cd269eb4a5afefe4988628e30b212d4e28 /include/linux
parent9f84a1bdd38ad449a725efbe8b5773efdee463d5 (diff)
downloadlinux-688cd642ba0c393344c802647848da5f0d925d0e.tar.xz
Staging: iio: adt7316: Fix i2c data reading, set the data field
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions