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>
Wed, 23 Jan 2013 01:22:47 +0000 (17:22 -0800)
commita7e2ca17039edb5f782be519eaf9d8ea500ba7cc
treece2f2a754b4f193c2b42575c7a193408679f8b43
parent9a9284153d965a57edc7162a8e57c14c97f3a935
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]
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_kim.c