diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2011-07-30 19:08:10 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-07-30 19:19:02 (GMT) |
commit | 1f4bb066433322f6f189b084ceebdfb4add77292 (patch) | |
tree | 2c3876f2a2f6db9c58137373e22f250bd58337ef /drivers/input/gameport | |
parent | 52db9819ac96b0c5a4e075d836cf21dc529cbce4 (diff) | |
download | linux-1f4bb066433322f6f189b084ceebdfb4add77292.tar.xz |
Input: gpio_keys - return proper error code if memory allocation fails
Return -ENOMEM if kzalloc fails in gpio_keys_get_devtree_pdata().
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/gameport')
0 files changed, 0 insertions, 0 deletions