HID: hidraw: don't deallocate memory when it is in use

When a device is unplugged, wait for all processes that have opened the device
to close before deallocating the device.

Signed-off-by: Ratan Nalumasu <ratan@google.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Ratan Nalumasu 2012-09-22 11:46:30 -07:00 • committed by Jiri Kosina
commit 4fe9f8e203