rtc: ds1307: simplify irq setup code
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 23 Mar 2012 22:02:37 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:40 +0000 (16:58 -0700)
commitb24a7267709bb0adb694364572478f919e9c7390
tree1b1f56549c9966a483846d10c96dba1153210d38
parent32d322bcb0d6886084197247e30aa130956d5978
rtc: ds1307: simplify irq setup code

No need to have two seperate if-blocks for setting up the irq.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: David Anders <danders.dev@gmail.com>
Cc: Austin Boyle <Austin.Boyle@aviatnet.com>
Cc: Alessandro Zummo <alessandro.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds1307.c