iio: imu: kmx61: Don't ignore kmx61_set_power_state errors
authorDaniel Baluta <daniel.baluta@intel.com>
Tue, 23 Dec 2014 13:22:25 +0000 (15:22 +0200)
committerJonathan Cameron <jic23@kernel.org>
Mon, 5 Jan 2015 18:59:51 +0000 (18:59 +0000)
commita3da4fa301ae60aac688ca320fb8b46a053d6d25
tree6aef1583fdcebdb998fd732fe63a4fb53e470bd9
parent4e8439779ef613135049cea77f50cf58ccc44255
iio: imu: kmx61: Don't ignore kmx61_set_power_state errors

..except while in an error handler, where there is nothing
to be done anyway.

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Reviewed-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/kmx61.c