commit | 66687e6aed4ab25ab5aac52ed94b277c4db2093f | [log] [tgz] |
---|---|---|
author | Cristina Opriceana <cristina.opriceana@gmail.com> | Wed Apr 01 14:01:11 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 01 17:24:09 2015 +0200 |
tree | 1787324b2f19e9b3f4899f4397dd89241eade79c | |
parent | aa5587f3cb9fde2db852b5549ee561198aa95748 [diff] |
iio: magnetometer: mag3110: Place driver on standby on error Place driver on standby mode on error in order to prevent wasting power. Move standby function above to be seen by the new call. Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>