linux-kernel-test/drivers/staging/iio
Lars-Peter Clausen bea3e8a31f staging:iio:adis16200: Do not return a error in remove function
In the Linux device driver model the remove callback is not allowed to fail and
the device will be removed regardless of the return value of the remove
callback. So if we abort in the remove function and do not free all resources we
will create a resource leak. Also all kinds of undefined behaviour are expected
to happen since the IIO device is still there while its parent is already gone.

The error which the driver tries to handle in the remove function is
non-critical, so we can just ignore it and continue to free all resources and
remove the IIO device.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-09-22 10:17:17 +01:00
..
accel Merge 3.6-rc6 into staging-next 2012-09-16 17:17:25 -07:00
adc IIO new drivers, features and rework for the 3.7 cycle, 4th set. 2012-09-17 14:42:54 -07:00
addac staging:iio:addac: Use dev_to_iio_dev() 2012-05-14 13:39:20 -07:00
cdc staging:iio: Request threaded-only IRQs with IRQF_ONESHOT 2012-07-08 20:02:24 +01:00
Documentation iio: Documentation change for inkern interface. 2012-09-15 10:02:16 +01:00
frequency staging:iio:frequency: Use dev_to_iio_dev() 2012-05-14 13:39:21 -07:00
gyro staging:iio:adis16200: Do not return a error in remove function 2012-09-22 10:17:17 +01:00
impedance-analyzer iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
imu Merge 3.6-rc6 into staging-next 2012-09-16 17:17:25 -07:00
light iio: isl29018: Support fractional ALS scaling. 2012-09-08 10:25:10 +01:00
magnetometer staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
meter Merge 3.6-rc6 into staging-next 2012-09-16 17:17:25 -07:00
resolver staging:iio: Constify static iio_chan_spec arrays 2012-08-14 20:27:42 +01:00
trigger staging:iio:trigger:bfintmr Add output support 2012-09-17 22:10:00 +01:00
iio_dummy_evgen.c staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
iio_dummy_evgen.h staging:iio:dummy Add event support + fake event generator 2011-10-17 15:36:30 -07:00
iio_hwmon.c staging:iio:hwmon bridge: Use iio_read_channel_processed 2012-09-17 21:49:49 +01:00
iio_simple_dummy_buffer.c iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
iio_simple_dummy_events.c staging: iio: Fix typo in iio 2012-05-08 16:04:12 -07:00
iio_simple_dummy.c staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
iio_simple_dummy.h staging:iio:dummy Add buffered reading support 2011-10-17 15:36:30 -07:00
Kconfig iio: fix spelling of subsystem 2012-09-03 20:26:44 +01:00
Makefile staging:iio: Move DAC drivers out of staging 2012-06-05 14:02:25 +09:00
ring_hw.h staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
ring_sw.c iio: Drop timestamp parameter from buffer store_to callback 2012-09-08 10:14:34 +01:00
ring_sw.h IIO: Move core headers to include/linux/iio 2012-04-25 11:01:43 -07:00
TODO staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00