iio: hid-sensors: typo leads to potential forever loop
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 5 Sep 2014 11:56:00 +0000 (12:56 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 10 May 2014 10:38:10 +0000 (11:38 +0100)
commitbf7f5204abdba94032ff7cae1c9c8c9e7671d246
treea761aa216ec4b9b0ce60372c4b29349e4e0b9968
parentc4784756a53f7b17056f5d86fe0eb9740d235578
iio: hid-sensors: typo leads to potential forever loop

The "i < " was missing in this condition.

Fixes: 5d02edfc3957 ('iio: hid-sensors: Convert units and exponent')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/hid-sensors/hid-sensor-attributes.c