summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-06 19:03:26 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-21 19:33:05 +0000
commit6c6bc851d8369d00b2466a2c5ac92b5992e09ada (patch)
tree5e53b503200ab35c16b24b8f3d6dcb4bec0c5a17 /lib/mpi/mpi-mod.c
parentbc6fbf11771932732361e386c98b1c9fcc6898fe (diff)
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 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions