platform-drivers-x86: intel_pmic_gpio: Fix off-by-one valid offset range check
authorAxel Lin <axel.lin@ingics.com>
Tue, 15 Apr 2014 02:54:11 +0000 (10:54 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Mon, 9 Jun 2014 21:39:58 +0000 (17:39 -0400)
Only pin 0-7 support input, so the valid offset range should be 0 ~ 7.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>

No differences found