summaryrefslogtreecommitdiff
path: root/drivers/iio/proximity
diff options
context:
space:
mode:
authorRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>2018-03-10 02:46:25 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-03-10 20:21:23 +0300
commit9aa5134ac486b48c4c8ac14571e6034131f040f8 (patch)
tree9e95411ffff4e820fba7c4a84500f84c21caefa2 /drivers/iio/proximity
parenta8cf0d829af69e64aa1cbf9bc8816389c5cce5e9 (diff)
downloadlinux-9aa5134ac486b48c4c8ac14571e6034131f040f8.tar.xz
staging:iio:ad2s1210: Remove old_data from ad2s1210_state
The variable old_data is a bool type, which only receives the value 'true' in the function ad2s1210_config_write and ad2s1210_config_read. There is no other use for this variable. This patch removes old_data from the ad2s1210_state and from all the function that use it. Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/proximity')
0 files changed, 0 insertions, 0 deletions