Re: [BUGFIX PATCH] rtc: eliminate extra call of ida_simple_remove()

2012-12-06 Thread Alexander Holler
Am 05.12.2012 16:25, schrieb Lothar Waßmann: Unbinding an RTC chip driver from its device leads to the error message: |ida_remove called for id=0 which is not allocated. This is caused by a redundant call to ida_simple_remove() in rtc_device_unregister(). Eliminate the call in rtc_device_unregis

[BUGFIX PATCH] rtc: eliminate extra call of ida_simple_remove()

2012-12-05 Thread Lothar Waßmann
Unbinding an RTC chip driver from its device leads to the error message: |ida_remove called for id=0 which is not allocated. This is caused by a redundant call to ida_simple_remove() in rtc_device_unregister(). Eliminate the call in rtc_device_unregister() and only call the function in rtc_device_