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, 28 Jan 2013 04:49:01 +0000 (20:49 -0800)
commit0d1f039f86e7bdd50ae1b2456c71b67c8920d3c6
tree8568779e36277fdf01ff442c44203a57194b9087
parent8de1accd5386dd947044890963ccfc83e5e28cb0
Revert "drivers/misc/ti-st: remove gpio handling"

commit a7e2ca17039edb5f782be519eaf9d8ea500ba7cc upstream.

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.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
[changed "err" back to "status" to get it to build in 3.7 - gregkh]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_kim.c