sony-laptop.c: fix off-by-one
authorAdrian Bunk <bunk@kernel.org>
Tue, 19 Feb 2008 22:59:03 +0000 (00:59 +0200)
committerLen Brown <len.brown@intel.com>
Thu, 21 Feb 2008 09:49:24 +0000 (04:49 -0500)
commitd399d130c82a1e1751b7770944f487fbd8b6272a
tree2aba39a7511e3fad2b2da70b41fcfd7718b630fe
parente80af3a8dbbbf431b2070cc760699f01c5a6ac69
sony-laptop.c: fix off-by-one

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

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/sony-laptop.c