mfd: Ensure sm501 GPIO pin mode is GPIO when configured
authorBen Dooks <ben-linux@fluff.org>
Sat, 10 Jan 2009 15:59:53 +0000 (16:59 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Sun, 11 Jan 2009 00:34:25 +0000 (01:34 +0100)
When setting an GPIO to either input or output, we
should ensure that the pin configuration elsewhere
in the chip is set to GPIO in-case the initial
setup has not been done correctly.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/sm501.c

Simple merge