mfd: tc3589x: Detect the precise version
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 18 Oct 2013 09:51:45 +0000 (11:51 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:22:28 +0000 (16:22 +0100)
Instead of detecting the "tc3589x" and hard-coding the number of
GPIO pins to 24, encode all the possible subtypes and set the
number of GPIO pins from the type.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tc3589x.c

Simple merge