2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/drivers/iio/dac
William Breathitt Gray 45e9815285 iio: stx104: Unregister IIO device on remove callback
The devm_iio_device_register function should not be used if custom
operations must be performed in the remove callback. This patch replaces
the dem_iio_device_register call with a iio_device_register call and
respective iio_device_unregister call in the remove callback.

Fixes: 765550e4d9 ("iio: stx104: Add GPIO support for the Apex Embedded Systems STX104")
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-08-15 15:39:32 +01:00
..
ad5064.c iio:ad5064: Add AD5625/AD5627/AD5645/AD5647/AD4665/AD5657 support 2016-02-08 18:51:26 +00:00
ad5360.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad5380.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad5421.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
ad5446.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad5449.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad5504.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
ad5592r-base.c iio: dac: ad5592r: Off by one bug in ad5592r_alloc_channels() 2016-05-04 10:52:43 +01:00
ad5592r-base.h iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs 2016-04-10 14:29:06 +01:00
ad5592r.c iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs 2016-04-10 14:29:06 +01:00
ad5593r.c iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs 2016-04-10 14:29:06 +01:00
ad5624r_spi.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad5624r.h
ad5686.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad5755.c iio: ad5755: add support for dt bindings 2016-06-27 21:09:00 +01:00
ad5761.c iio: add ad5761 DAC driver 2016-01-24 14:46:21 +00:00
ad5764.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad5791.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
ad7303.c spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
Kconfig Second round of new iio device support, features and cleanups in the 4.8 cycle 2016-06-29 15:35:01 -07:00
lpc18xx_dac.c iio: dac: add NXP LPC18xx DAC driver 2016-03-12 18:12:37 +00:00
m62332.c iio:dac:m62332: use dynamic scale 2015-10-11 15:45:17 +01:00
Makefile iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs 2016-04-10 14:29:06 +01:00
max517.c iio: max517: Add support for MAX520 and MAX521 chips. 2015-03-28 10:57:34 +00:00
max5821.c iio: dac: max5821: Fix module autoload for OF platform driver 2015-09-23 20:23:23 +01:00
mcp4725.c Merge 4.5-rc3 into staging-next 2016-02-07 17:34:04 -08:00
mcp4922.c spi: Drop owner assignment from spi_drivers 2015-10-28 10:30:17 +09:00
stx104.c iio: stx104: Unregister IIO device on remove callback 2016-08-15 15:39:32 +01:00
vf610_dac.c iio: dac: vf610_dac: Add IIO DAC driver for Vybrid SoC 2016-02-24 20:52:55 +00:00