commit | b72eb70209a0aac7651166d3f610ffb57b4c6e5f | [log] [tgz] |
---|---|---|
author | Cristina Opriceana <cristina.opriceana@gmail.com> | Sun Mar 29 16:14:39 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 01 17:23:20 2015 +0200 |
tree | 31b9939054be143d208b8dc591316427730551a0 | |
parent | 675732707f29d6714bc756a75e70a6ec2b16a478 [diff] |
Staging: iio: Add error check on iio_register_device() This patch checks if an error occurred on probe and stops the device in order to avoid wasting power. Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>