]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8197a6cfaacdc799a9f0af2f053266b89f09c6e5
treeff3e5d2744fe0d783bb33d98a7c904fa44b14b7b
parentd8d104b8e69d1fd577fb01ab55f19329f9eea7a2
mfd: tc3589x: Detect the precise version

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