summaryrefslogtreecommitdiff
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2016-07-19 19:25:00 +0300
committerJonathan Cameron <jic23@kernel.org>2016-08-15 17:39:32 +0300
commit45e98152850c36560484f3fa3bb857a4bfe1a419 (patch)
tree0f464698c427cca55d973d2c432f996fb8b45f60 /drivers/iio/accel
parentf8adf645db03345af2d9a8b6095b02327ea50885 (diff)
downloadlinux-45e98152850c36560484f3fa3bb857a4bfe1a419.tar.xz
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/accel')
0 files changed, 0 insertions, 0 deletions