diff options
author | Wan ZongShun <mcuos.com@gmail.com> | 2010-08-11 03:02:19 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 17:59:08 +0200 |
commit | 23e53be94a7bf9220e1e3d8b0b56b8c96cb88e3c (patch) | |
tree | e43b774742d66f73f06da43c08182253b32b6bc2 /drivers/s390/scsi/zfcp_ext.h | |
parent | rtc/nuc900: make returning time checking function valid (diff) | |
download | linux-23e53be94a7bf9220e1e3d8b0b56b8c96cb88e3c.tar.xz linux-23e53be94a7bf9220e1e3d8b0b56b8c96cb88e3c.zip |
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 <mcuos.com@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/s390/scsi/zfcp_ext.h')
0 files changed, 0 insertions, 0 deletions