commit | 9aa5134ac486b48c4c8ac14571e6034131f040f8 | [log] [tgz] |
---|---|---|
author | Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com> | Fri Mar 09 20:46:25 2018 -0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Mar 10 17:21:23 2018 +0000 |
tree | 9e95411ffff4e820fba7c4a84500f84c21caefa2 | |
parent | a8cf0d829af69e64aa1cbf9bc8816389c5cce5e9 [diff] |
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>