Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5ab9a52a authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Linus Torvalds
Browse files

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: default avatarAlexander Shiyan <shc_work@mail.ru>
Acked-by: default avatarAlessandro Zummo <a.zummo@towertech.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fda9909d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment