diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-06 22:03:26 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-21 22:33:05 +0300 |
| commit | 6c6bc851d8369d00b2466a2c5ac92b5992e09ada (patch) | |
| tree | 5e53b503200ab35c16b24b8f3d6dcb4bec0c5a17 /include/uapi/linux | |
| parent | bc6fbf11771932732361e386c98b1c9fcc6898fe (diff) | |
| download | linux-6c6bc851d8369d00b2466a2c5ac92b5992e09ada.tar.xz | |
staging:iio:adc:ad7280a: Remove shift from cb_mask state cache.
Making the local storage of the Cell Balance mask a simple
bitmap and then shifting it only at time of register write simplifies
several code paths.
Suggested-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://lore.kernel.org/r/20220206190328.333093-19-jic23@kernel.org
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
