From: Wan ZongShun Date: Wed, 11 Aug 2010 01:02:19 +0000 (-0700) Subject: rtc/nuc900: modify enable/disable IRQs and driver data setting location X-Git-Tag: v2.6.36-rc1~201 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23e53be94a7bf9220e1e3d8b0b56b8c96cb88e3c;p=pandora-kernel.git rtc/nuc900: modify enable/disable IRQs and driver data setting location This patch does two modifications: (1) Adjust enable/disable IRQs location,enable it after rtc registration and disable it prior to unregistration. (2) Put 'platform_set_drvdata(pdev, nuc900_rtc)' in front of rtc registration still be safety, though there is no need to do this, when I move enable irq after rtc registration, I think still put 'platform_set_drvdata' before rtc registration that would be a good habit. Signed-off-by: Wan ZongShun Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed