diff options
author | Cristina Opriceana <cristina.opriceana@gmail.com> | 2015-04-01 18:50:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-02 10:27:39 +0200 |
commit | 1ca510b0ea6da1a4ff3a385f0613e045f670304e (patch) | |
tree | b7e58e65e0c1f5b433cf8d1d22a496e1af7013bf /scripts/ld-version.sh | |
parent | c471c989addf4d806c62ece60d6cfd6d9ad50c95 (diff) | |
download | op-kernel-dev-1ca510b0ea6da1a4ff3a385f0613e045f670304e.zip op-kernel-dev-1ca510b0ea6da1a4ff3a385f0613e045f670304e.tar.gz |
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 'scripts/ld-version.sh')
0 files changed, 0 insertions, 0 deletions