From 4119617919c243755946699808ffd0f4befa62c7 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Fri, 8 Oct 2010 17:54:31 +0800 Subject: [PATCH] intel_pmic_gpio: fix off-by-one value range checking In pmic_irq_type(), we use gpio as array index for trigger, thus the valid value range for gpio should be 0 .. NUM_GPIO - 1. Signed-off-by: Axel Lin Signed-off-by: Matthew Garrett --- Reading git-format-patch failed