diff options
author | Cristina Opriceana <cristina.opriceana@gmail.com> | 2015-04-01 15:50:17 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-02 08:27:39 (GMT) |
commit | 1ca510b0ea6da1a4ff3a385f0613e045f670304e (patch) | |
tree | b7e58e65e0c1f5b433cf8d1d22a496e1af7013bf /drivers/iio/amplifiers | |
parent | c471c989addf4d806c62ece60d6cfd6d9ad50c95 (diff) | |
download | linux-1ca510b0ea6da1a4ff3a385f0613e045f670304e.tar.xz |
iio: light: ltr501: Powerdown device on error
Power down device when an error occurs in order to avoid wasting
power. Move powerdown function up to be seen by the new call and
align parameters for the ltr501_write_contr() call.
Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/amplifiers')
0 files changed, 0 insertions, 0 deletions