iio:accel:mma8452: pass up real error code
authorHartmut Knaack <knaack.h@gmx.de>
Sun, 2 Aug 2015 20:43:48 +0000 (22:43 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 8 Aug 2015 16:29:48 +0000 (17:29 +0100)
commitb9fddcdb44c2e274193b119dd6c3af3a9324640a
tree7cf848b7bc07a1c8499b3b76328b97a7fbba1343
parent8337455296385b45822dc46c2b25db4c361d734c
iio:accel:mma8452: pass up real error code

Pass up the error code provided by functions.

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