diff options
| author | Cristina Opriceana <cristina.opriceana@gmail.com> | 2015-03-29 16:14:39 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-01 17:23:20 +0200 |
| commit | b72eb70209a0aac7651166d3f610ffb57b4c6e5f (patch) | |
| tree | 31b9939054be143d208b8dc591316427730551a0 /include/linux/stackprotector.h | |
| 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>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
