Re: [BUGFIX PATCH] rtc: eliminate extra call of ida_simple_remove()
From: Alexander Holler
Date: Thu Dec 06 2012 - 10:17:24 EST
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@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/