mfd: Correct WM831X_MAX_ISEL_VALUE
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 30 Nov 2009 13:24:18 +0000 (13:24 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 1 Dec 2009 10:24:19 +0000 (11:24 +0100)
commit7716977b6ae5a0cdd0afab5c6035c4d0ce53f599
tree9534843e6f393dba12bb843e1d846dc19d5349b1
parent29e553631b2a0d4eebd23db630572e1027a9967a
mfd: Correct WM831X_MAX_ISEL_VALUE

There was confusion between the array size and the highest ISEL
value possible.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm831x-core.c
include/linux/mfd/wm831x/regulator.h