Revert "drivers/misc/ti-st: remove gpio handling"
authorLuciano Coelho <coelho@ti.com>
Mon, 21 Jan 2013 11:12:42 +0000 (13:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jan 2013 22:29:03 +0000 (14:29 -0800)
commit55cd0e36f6e4796f39f0dada112436bdcc9d8a3b
tree0fea35741e0e7ec81804e4d1475d5c2c1a7cfb17
parentef4458a16561ea901ac410cb38407d0928a54d1d
Revert "drivers/misc/ti-st: remove gpio handling"

This reverts commit eccf2979b2c034b516e01b8a104c3739f7ef07d1.

The reason is that it broke TI WiLink shared transport on Panda.
Also, callback functions should not be added to board files anymore,
so revert to implementing the power functions in the driver itself.

Additionally, changed a variable name ('status' to 'err') so that this
revert compiles properly.

Cc: stable <stable@vger.kernel.org> [3.7]
Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_kim.c