rtc: rtc-s3c: update IRQ handling
authorBen Dooks <ben-linux@fluff.org>
Thu, 24 Jul 2008 04:30:45 +0000 (21:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:34 +0000 (10:47 -0700)
commit773be7ee97c11fbb6b8a912a58b268dbe8a6a3fe
treed550b52722b2fd26afb33ee05486e06778411f1c
parent4cd0c5c40b64ef9fd94fb8382dade2fd28f2b935
rtc: rtc-s3c: update IRQ handling

The rtc-s3c.c driver has been using its own ioctl() handling to deal with
alarm and periodic interrupts to handle what should now be done with the
rtc core code.

Change to using the .irq_set_freq and .irq_set_state driver entries and
remove the .ioctl handling.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-s3c.c