]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc581eed1195d56b71f72039576d3732e017025d6
treece2f2a754b4f193c2b42575c7a193408679f8b43
parent686665344d26c77c23bd21e8675ca623173c9d3f
Revert "drivers/misc/ti-st: remove gpio handling"

This reverts commit 6ac1df80503b965ee0116fb66a6c6aa4bf7d5245.

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