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>
Thu, 30 Sep 2010 00:49:41 +0000 (17:49 -0700)
commit77598e8316d2aa1de9f290afdcc97e409ba585b8
tree6810fea55fa7e6363d2f7dce9034321fce307087
parent325c547f8b9797b9dfe253b8147b54dc4691109b
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