serial: sunsu: add missing platform_driver_unregister() when module exit
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 27 Apr 2013 00:13:16 +0000 (00:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2013 00:39:48 +0000 (17:39 -0700)
commitad348cc5349be4ef4abe08819afbb63386585413
treeba9632cfcc9a116f063c7ff7523af22bb30394f8
parent6e4741e73b266f02e4b6d166ac278afd86c4dceb
serial: sunsu: 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 <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/tty/serial/sunsu.c