summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/stk3310.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-05-27 10:20:52 +0200
committerJonathan Cameron <jic23@kernel.org>2015-06-01 17:55:19 +0200
commit5517547bf44731621338c1a4047196a49c790719 (patch)
tree51e0b50fa205cc2623a530a2e40521223a78aa16 /drivers/iio/light/stk3310.c
parentiio: Require strict scan mask matching in hardware mode (diff)
downloadlinux-5517547bf44731621338c1a4047196a49c790719.tar.xz
linux-5517547bf44731621338c1a4047196a49c790719.zip
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>
Diffstat (limited to 'drivers/iio/light/stk3310.c')
0 files changed, 0 insertions, 0 deletions