]> git.karo-electronics.de Git - linux-beck.git/commit
iio:accel:mma8452: rework register definitions
authorHartmut Knaack <knaack.h@gmx.de>
Sun, 2 Aug 2015 20:43:50 +0000 (22:43 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 8 Aug 2015 16:36:35 +0000 (17:36 +0100)
commit69abff81d7fa59a0dfca5c72a7f1006f17a06d11
tree2d70ce4c3d005f1c6500202d880b9617a2502bde
parent11218226184b6b2be5cde4bf16f647dda225d4f3
iio:accel:mma8452: rework register definitions

Rework register definitions to be sorted by register and bit number, with
bit definitions cascaded under the appropriate register, use GENMASK for
consecutive bitmasks and realign properly.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/mma8452.c