From: Atsushi Nemoto Date: Wed, 16 Dec 2009 00:46:00 +0000 (-0800) Subject: rtc-tx4939: fix races around device registration X-Git-Tag: v2.6.33-rc1~71^2~153 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af69a180e0675ce95842adb519079204ee5647ea;p=pandora-kernel.git rtc-tx4939: fix races around device registration * Use its own spinlock instead of rtc->irq_lock * Check pdata->rtc before calling rtc_update_irq * Disable interrupt after rtc_device_unregister Signed-off-by: Atsushi Nemoto Acked-by: Alessandro Zummo Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed