Input: ibmasm - fix input initialization error path
authorDmitry Torokhov <dtor_core@ameritech.net>
Tue, 10 Jan 2006 07:00:39 +0000 (02:00 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Tue, 10 Jan 2006 07:00:39 +0000 (02:00 -0500)
commit5fc4e6e197c7e377f1c8ebec727d40df983aceed
tree6d7718af1f54d0a7c072f3df39f36f010ee86490
parent94f8d28c47aa425cbcaa4ca7fc7935cd0ddb0151
Input: ibmasm - fix input initialization error path

Do not try to free device that has already been unregistered,
input_unregister_device() frees it automatically.

Spotted by Vernon Mauery <vernux@us.ibm.com>

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/misc/ibmasm/remote.c