commit | 259a8202b6fd2831868ad2069ec3ef3b808a26ad | [log] [tgz] |
---|---|---|
author | Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com> | Fri Mar 23 11:26:41 2018 -0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Mar 24 13:25:59 2018 +0000 |
tree | 4a466cba05d6d16d056056f1b9d0da75816b1360 | |
parent | 418bbb6e6ba2ec07ca2be2d6abba9fbad1809456 [diff] |
staging:iio:ade7854: Remove write_reg_* duplications This patch removes code duplications related to the write_reg_* functions and centralizes them in a single function. Also, it eliminates the legacy functions and replaces them by a unique signature that is used by SPI and I2C. Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>