]> 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)
commitdc5480471cab046e8f2c6bfc9454ff28375a2a6f
treeb10682fadcd1bc4c87bdd6210c97e9ca17255272
parent5f096065d5fd2c49b2e92d20ba974f11b050e2db
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