staging: nvec: Convert to use devm_input_allocate
authorLeon Romanovsky <leon@leon.nu>
Tue, 14 May 2013 09:22:07 +0000 (12:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:04:31 +0000 (16:04 -0700)
commit167bf09e2e032fab0ae6fe2dee200cc33a8c4231
tree82bb80f4cfa5c93998398b50c1fd41f38d366f57
parent5e763f7bd9fea0027e246e6c2cee291566a390a9
staging: nvec: Convert to use devm_input_allocate

nvec_kbd is converted to use devm_input_allocate.
This simplifies error handling and remove path.

Signed-off-by: Leon Romanovsky <leon@leon.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec_kbd.c