diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-01 00:27:02 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-01 01:28:15 (GMT) |
commit | af045b86662f17bf130239a65995c61a34f00a6b (patch) | |
tree | d4f9c03e7934ca04e17f6f0be91884c889052cf8 /samples | |
parent | 57157becdd1d23e6c2b8661ffe6c78d7d605d121 (diff) | |
download | linux-fsl-qoriq-af045b86662f17bf130239a65995c61a34f00a6b.tar.xz |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions