staging: android: ion_test: unregister the misc device
authorPhong Tran <tranmanphong@gmail.com>
Fri, 3 Apr 2015 14:07:01 +0000 (21:07 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 May 2015 07:24:08 +0000 (09:24 +0200)
commit954c2d8f982fe188740f11cb4a00881d5325e89e
tree29ec3b9071c2a2ce57141e044a7c637cc96db8c2
parenta569f22007f51db92304af05cda096ae1ad8844f
staging: android: ion_test: unregister the misc device

Add the remove() method for deregister from misc device
when it's unloaded.

Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_test.c