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)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:09:33 +0000 (09:09 -0700)
commite7b269e317567ad9760ba82a1736e77275fb3c01
tree109f87f951b35c000785ed637e5e59b54e96508b
parentf6db96177fc8e788a4b12d196c34b214db58bf48
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