OSDN Git Service

rtc: rtc-tile: add missing platform_device_unregister() when module exit
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 5 May 2013 05:07:49 +0000 (01:07 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 8 May 2013 18:00:19 +0000 (14:00 -0400)
commit52fbc7796a6936dac4189f7ebda7ae7c2c813ad2
treeb10682fadcd1bc4c87bdd6210c97e9ca17255272
parentc539914dcd9a68c63305e055b14115a6a19578a8
rtc: rtc-tile: add missing platform_device_unregister() when module exit

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
drivers/rtc/rtc-tile.c