aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/iio/humidity
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2016-07-19 12:25:00 -0400
committerJonathan Cameron <jic23@kernel.org>2016-08-15 15:39:32 +0100
commit45e98152850c36560484f3fa3bb857a4bfe1a419 (patch)
tree0f464698c427cca55d973d2c432f996fb8b45f60 /drivers/iio/humidity
parentiio: proximity: as3935: set up buffer timestamps for non-zero values (diff)
downloadwireguard-linux-45e98152850c36560484f3fa3bb857a4bfe1a419.tar.xz
wireguard-linux-45e98152850c36560484f3fa3bb857a4bfe1a419.zip
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: 765550e4d98d ("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>
Diffstat (limited to 'drivers/iio/humidity')
0 files changed, 0 insertions, 0 deletions