drivers/rtc/rtc-rv3029c2.c: fix potential race condition
authorGregory Hermant <gregory.hermant@calao-systems.com>
Thu, 3 Apr 2014 21:50:17 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:24 +0000 (16:21 -0700)
commit67ab2440b40610b3b91068844640df6d3de3464f
treeb8f1caccb6e01ce33557b63c1615883f0ea985f7
parent617b26a0e1cf8f183328763b6f1a33a422b60614
drivers/rtc/rtc-rv3029c2.c: fix potential race condition

RTC drivers must not return an error after device registration.

Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-rv3029c2.c