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)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:23:58 +0000 (12:23 -0800)
commitb9300805fefb8ea001f1627a3813fdd13bfeee2c
treecd85f4b332df0694306b3e74873e3b9c85a359f6
parent0bbac0f6f70471e56552520c3f0d916757057694
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