iio: accel: mma9553: refactor mma9553_read_raw
authorIrina Tirdea <irina.tirdea@intel.com>
Mon, 13 Apr 2015 15:41:00 +0000 (18:41 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 26 Apr 2015 18:52:31 +0000 (19:52 +0100)
commit334efd076dc5bde5c579c0cf1c2b5d3dcd8839f7
tree7a43c75e72036e5f9db30e78937c3ed6ef5ff1a2
parent996ba514591cd89c5555e143f6ad893f3f5e6824
iio: accel: mma9553: refactor mma9553_read_raw

Refactor code for simplicity and clarity.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Suggested-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/mma9553.c