input: misc: gpio; make wake irq conditional, and disable on remove paths
authorMike J. Chen <mjchen@sta.samsung.com>
Fri, 15 Oct 2010 01:04:03 +0000 (18:04 -0700)
committerTodd Poynor <toddpoynor@google.com>
Tue, 13 Sep 2011 00:28:20 +0000 (17:28 -0700)
commit7cfb88fe76b676b3db5a0931c1245bbe640de8db
tree889db957ee50251fc0f3db9f40a0ff76787d0f20
parent36af2a472ac1b8785f679749c43e47fd37aba2b1
input: misc: gpio; make wake irq conditional, and disable on remove paths

Add a board file option to gpio_input devices to make
calling enable_irq_wake conditional.  Also disable the
wake irq when removing the device.

Change-Id: If933b9d3a751d89fa95ae3b7f739dfe70fcb23c8
Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
drivers/input/misc/gpio_input.c