diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2012-03-24 06:19:25 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-10 16:17:33 (GMT) |
commit | 218f4d437d69b4621f36affd52dcd6343597149a (patch) | |
tree | 2b21d8d76ea9fd6f9ad7a660f40e00d4e2ca4818 /drivers | |
parent | 50637f050e88fb175135de62a53be33c374a5349 (diff) | |
download | linux-fsl-qoriq-218f4d437d69b4621f36affd52dcd6343597149a.tar.xz |
staging:iio:core add missing increment of loop index in iio_map_array_unregister()
staging:iio:core add missing increment of loop index in iio_map_array_unregister()
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/inkern.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/inkern.c b/drivers/staging/iio/inkern.c index de2c8ea..ef07a02 100644 --- a/drivers/staging/iio/inkern.c +++ b/drivers/staging/iio/inkern.c @@ -82,6 +82,7 @@ int iio_map_array_unregister(struct iio_dev *indio_dev, ret = -ENODEV; goto error_ret; } + i++; } error_ret: mutex_unlock(&iio_map_list_lock); |