From: Alexander Shiyan Date: Thu, 3 Apr 2014 21:50:15 +0000 (-0700) Subject: drivers/rtc/rtc-mc13xxx.c: fix potential race condition X-Git-Tag: v3.15-rc1~106^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ab9a52a3af613b74a7cda033c1623c7913c50d9;p=pandora-kernel.git drivers/rtc/rtc-mc13xxx.c: fix potential race condition RTC drivers must not return an error after device registration. This patch makes RTC registration as the last action. Signed-off-by: Alexander Shiyan Acked-by: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed