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

The driver has to unregister from platform 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