commit | ef6d4f54cca5962127b47ee8a355611aafedd526 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Tue Mar 16 13:03:49 2010 +0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Apr 30 09:30:08 2010 -0700 |
tree | a1a151ec24222c49b6c010ebce7fb8d570529e0c | |
parent | 0b64c38b71d6e2c1049c75bb1d885031008700c1 [diff] |
Staging: iio: test for failed allocation We should return test to see if iio_allocate_trigger() fails and return -ENOMEM. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>