diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2012-03-24 07:19:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-10 09:17:33 -0700 |
commit | 218f4d437d69b4621f36affd52dcd6343597149a (patch) | |
tree | 2b21d8d76ea9fd6f9ad7a660f40e00d4e2ca4818 /drivers/staging | |
parent | 50637f050e88fb175135de62a53be33c374a5349 (diff) |
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/staging')
-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 de2c8ea6496..ef07a02bf54 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); |