Dmitry Torokhov af045b8666 Input: i8042 - fix device removal on unload
We need to call platform_device_unregister(i8042_platform_device)
before calling platform_driver_unregister() because i8042_remove()
resets i8042_platform_device to NULL. This leaves the platform device
instance behind and prevents driver reload.

Fixes https://bugzilla.kernel.org/show_bug.cgi?id=16613

Reported-by: Seryodkin Victor <vvscore@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2010-08-31 18:28:15 -07:00
..
2008-03-14 11:54:06 -04:00
2010-07-07 17:05:07 -07:00
2007-10-19 11:53:42 -07:00
2010-03-09 22:05:48 -08:00
2010-01-21 23:55:25 -08:00