X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Frtc%2Frtc-tile.c;h=fc3dee95f16618a86ec59d86272947b27882500c;hb=b32729b1eeae7ef8f5709923b36b5a0906d213df;hp=249b6531f119daa54b17c242fe72d83b7241f955;hpb=99bece775f988a4ee21ad3db9fd413caf1704ff6;p=karo-tx-linux.git diff --git a/drivers/rtc/rtc-tile.c b/drivers/rtc/rtc-tile.c index 249b6531f119..fc3dee95f166 100644 --- a/drivers/rtc/rtc-tile.c +++ b/drivers/rtc/rtc-tile.c @@ -146,6 +146,7 @@ exit_driver_unregister: */ static void __exit tile_rtc_driver_exit(void) { + platform_device_unregister(tile_rtc_platform_device); platform_driver_unregister(&tile_rtc_platform_driver); }