linux/drivers/staging/iio
Sonic Zhang a8947fcf3b 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>
2010-04-30 09:30:09 -07:00
..
accel Staging: iio: test for failed allocation 2010-04-30 09:30:08 -07:00
adc Staging: iio: adc: fix dangling pointers 2010-04-30 09:30:09 -07:00
Documentation Staging: iio: Fix typos in documentation 2009-12-11 12:23:19 -08:00
light Staging: iio: light: fix dangling pointers 2010-04-30 09:30:08 -07:00
trigger include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
chrdev.h Staging: iio: lots of doc fixes 2009-12-11 12:23:05 -08:00
iio.h Staging: iio: lots of doc fixes 2009-12-11 12:23:05 -08:00
industrialio-core.c staging: iio: Function iio_get_new_idr_val() return negative value if fails. 2010-04-30 09:30:09 -07:00
industrialio-ring.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
industrialio-trigger.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
Kconfig Staging: iio: kconfig and make edits 2009-12-11 12:23:05 -08:00
Makefile Staging: IIO: Periodic timer based trigger 2009-09-15 12:02:25 -07:00
ring_generic.h Staging: make drivers use spin_lock_init() 2010-03-03 16:43:04 -08:00
ring_hw.h Staging: IIO: VTI sca3000 series accelerometer driver (spi) 2009-09-15 12:02:24 -07:00
ring_sw.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ring_sw.h drop explicit include of autoconf.h 2009-12-12 13:08:15 +01:00
sysfs.h Staging: iio: lots of doc fixes 2009-12-11 12:23:05 -08:00
TODO Staging: IIO: Add todo list for staging 2009-09-15 12:02:26 -07:00
trigger_consumer.h Staging: iio: Staticise non-exported functions 2010-03-03 16:43:02 -08:00
trigger.h Staging: iio: lots of doc fixes 2009-12-11 12:23:05 -08:00