serial: samsung: add missing platform_driver_unregister() when module exit
authorWei Yongjun <[email protected]>
Sat, 27 Apr 2013 10:14:29 +0000 (18:14 +0800)
committerGreg Kroah-Hartman <[email protected]>
Mon, 20 May 2013 18:54:55 +0000 (11:54 -0700)
commita82ea439655a66d587f353a3992521159f4050ee
treec2ea5a322fa1605b58b10a6bd0a49cbecd270814
parentf6b6f52b583003ad443d5709c56b8858466c4268
serial: samsung: add missing platform_driver_unregister() when module exit

We have registered platform driver when module init, and
need unregister it when module exit.

Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/serial/samsung.c