i2c-amd756: Fix off-by-one
authorAdrian Bunk <bunk@kernel.org>
Wed, 12 Mar 2008 13:15:00 +0000 (14:15 +0100)
committerJean Delvare <khali@hyperion.delvare>
Wed, 12 Mar 2008 13:15:00 +0000 (14:15 +0100)
commit5edc68b8530ff1b3133d057350da98c93cca5a82
tree4df5af586cbbda22c0e67965f9c007bf2cf88c36
parentbaadac8b10c5ac15ce3d26b68fa266c8889b163f
i2c-amd756: Fix off-by-one

This patch fixes an off-by-one error spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-amd756.c