mfd: intel_soc_pmic_core: Terminate panel control GPIO lookup table correctly
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 22 Apr 2016 19:38:55 +0000 (22:38 +0300)
committerLee Jones <lee.jones@linaro.org>
Mon, 9 May 2016 12:27:40 +0000 (13:27 +0100)
commit36e6d081cfb2cb64e6d8e5121cffb1e62f894d36
tree31c4971d244e91fded03b64ce573460bc6da79db
parent14856f75825f77b13564a8cc71deb21409671ab1
mfd: intel_soc_pmic_core: Terminate panel control GPIO lookup table correctly

GPIO lookup tables are supposed to be zero terminated. Let's do that
and avoid accidentally walking off the end.

Cc: stable@vger.kernel.org
Fixes: 61dd2ca2d44e ("mfd: intel_soc_pmic_core: Add lookup table for Panel Control as GPIO signal")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel_soc_pmic_core.c