Messages in this thread | | | Date | Thu, 06 Dec 2012 16:17:24 +0100 | From | Alexander Holler <> | Subject | Re: [BUGFIX PATCH] rtc: eliminate extra call of ida_simple_remove() |
| |
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_unregister() and only call the > function in rtc_device_release(). > > Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
I've just discovered the same problem. Although I've removed the call to ida_simple_remove() in rtc_device_release() (for symmetry of register/unregister) I can offer a
Signed-off-by: Alexander Holler
A
Cc: <stable@vger.kernel.org>
might make sense, but it should just remove a warning, so I don't know if that qualifies for the stable series.
Regards,
Alexander
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |