Bug 13771

Summary: Emit WARN when removing rtc-cmos
Product: Drivers Reporter: Thadeu Lima de Souza Cascardo (cascardo)
Component: OtherAssignee: Alexey Dobriyan (adobriyan)
Status: RESOLVED CODE_FIX    
Severity: normal CC: adobriyan, dbrownell
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.31-rc2 Subsystem:
Regression: No Bisected commit-id:

Description Thadeu Lima de Souza Cascardo 2009-07-14 14:47:22 UTC
When removing rtc-cmos, we get a WARN, because it tries to remove a driver it could not register successfully or did not try to register at all.

The patch below fixes the problem.

http://patchwork.kernel.org/patch/34089/
Comment 1 Alexey Dobriyan 2009-11-15 17:17:49 UTC
commit 659098141d02eb8e3545be8969d262e02d2f3f98
"rtc: mark if rtc-cmos drivers were successfully registered"