Input: gpio_event: Don't call gpio_cansleep before gpio_request.
authorArve Hjønnevåg <arve@android.com>
Fri, 2 Apr 2010 02:52:27 +0000 (19:52 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:05:49 +0000 (12:05 -0800)
commit771af39d736a71c709719cbe27abd2779f6d5f30
tree670812695e4991a6c2546e642cc4cf8bf07d07f2
parente59d5401fc8218655f581af2402ac0e7177724c1
Input: gpio_event: Don't call gpio_cansleep before gpio_request.

If the gpio did not exist it would crash in gpiolib.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/input/misc/gpio_matrix.c