[PATCH] drivers/mfd/sm501.c: fix an off-by-one
authorAdrian Bunk <bunk@stusta.de>
Mon, 2 Apr 2007 06:49:38 +0000 (23:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 2 Apr 2007 17:06:08 +0000 (10:06 -0700)
commitbf703c3f199342da440a30798b6120f391741ffe
treedceadb855e56f249841c746f8a8e6ffa338efe5f
parent10fa1155a2c3282f421a74fedfad1957e8bdc86c
[PATCH] drivers/mfd/sm501.c: fix an off-by-one

Fix an off-by-one spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Vincent Sanders <vince@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/sm501.c