]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: ehv_bytechan: add missing platform_driver_unregister() when module exit
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 27 Apr 2013 10:14:56 +0000 (18:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2013 19:15:59 +0000 (12:15 -0700)
commita7ea96ef55d194a6fdb4739ec6e5a9b5ae2c3b01
treedc4d2721d7c72b5d85cb944c9146867c3dda7c02
parent4aca4ad3945580806237b6bfe61a16884d7af626
TTY: ehv_bytechan: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/ehv_bytechan.c