summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-09-01 12:44:45 +0300
committerJonathan Cameron <jic23@kernel.org>2016-09-18 13:32:49 +0300
commit11adc2b218028934540be4f235a486d575d74b54 (patch)
treeac32e8dd42d641d7aab0c247b31d3f187a30f355 /README
parent0427a106a98adf94b53cc88607ceabc2ecebd2cc (diff)
downloadlinux-11adc2b218028934540be4f235a486d575d74b54.tar.xz
iio: accel: kxsd9: Deploy proper register bit defines
There are some hardcoded register values etc in the code, define proper bitfield definitions, and use them when getting and setting the scale. Optimize a read/modify/write to use regmap_update_bits() at the same time. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions