]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a842d5308538abb4ef6e0144a5513f5fdd27303
treeb10682fadcd1bc4c87bdd6210c97e9ca17255272
parent9a1186d40282459e7612ab3fb9a549e1a8512ef5
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