]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e5e5851510975b6c2c3a6670b32cbce4905f3b4
treeb8f1caccb6e01ce33557b63c1615883f0ea985f7
parentc45d03140c7e1f3fb260517c71f289e5d3bc4676
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