commit | 5517547bf44731621338c1a4047196a49c790719 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed May 27 11:20:52 2015 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Mon Jun 01 16:55:19 2015 +0100 |
tree | 51e0b50fa205cc2623a530a2e40521223a78aa16 | |
parent | 1e1ec2861e0d4307267096c3f74c17298c1cde98 [diff] |
iio: magnetometer: correct a harmless off by one check The line before limits i to 0-3 so the existing code works fine but the check is still off by one and >= is intended instead of >. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>