diff options
author | Sonic Zhang <sonic.adi@gmail.com> | 2010-03-22 12:27:05 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-30 09:30:09 -0700 |
commit | a8947fcf3bbeda9fc6ff1205e51f8ff1b0128cc4 (patch) | |
tree | 5a7774c771316cb5554743c53dc34f4f7e44eb30 /kernel/cpu.c | |
parent | ee58cb2bcda99ae934176ad5ae66f7699d23cd3d (diff) |
staging: iio: Function iio_get_new_idr_val() return negative value if fails.
Function iio_get_new_idr_val() return negative value if fails.
So, only error when ret < 0 in iio_device_register_eventset().
Signed-off-by: Sonic Zhang <sonic.adi@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions