Staging: iio: --/++ confusion in build_channel_array() error cleanup
authorroel kluin <roel.kluin@gmail.com>
Sat, 1 Jan 2011 18:01:51 +0000 (18:01 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Jan 2011 23:58:17 +0000 (15:58 -0800)
commit267024a9f6cc7f7e26ed57424d5d0c8558769b56
tree744e44045ea44564863e665afd4bcd5dadb9a473
parent4a5200ac8bd0e1a85aacea7cf4ded6e597254be0
Staging: iio: --/++ confusion in build_channel_array() error cleanup

Fix loop: it should decrement

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/Documentation/iio_utils.h