drivers/rtc/rtc-rv3029c2.c: fix potential race condition
RTC drivers must not return an error after device registration. Signed-off-by: NGregory Hermant <gregory.hermant@calao-systems.com> Acked-by: NAlessandro Zummo <a.zummo@towertech.it> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录