]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/rtc/class.c
Merge branch 'for-next' of git://git.infradead.org/users/eparis/notify
[karo-tx-linux.git] / drivers / rtc / class.c
index f8a0aab218cbcd2777ea93b9e74aa96494e729fe..5143629dedbdcf9262240e98f6a9637d249c5679 100644 (file)
@@ -244,7 +244,6 @@ void rtc_device_unregister(struct rtc_device *rtc)
                rtc_proc_del_device(rtc);
                device_unregister(&rtc->dev);
                rtc->ops = NULL;
-               ida_simple_remove(&rtc_ida, rtc->id);
                mutex_unlock(&rtc->ops_lock);
                put_device(&rtc->dev);
        }