drivers/rtc/rtc-s3c.c: remove NO_IRQ macro
authorPankaj Dubey <pankaj.dubey@samsung.com>
Thu, 3 Apr 2014 21:50:19 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:24 +0000 (16:21 -0700)
commitebe753357ecd10a6dc521dc89f2bfea6c0ee0ca2
tree28f84d6a842762316b7c1214545924332dfe91df
parentdc9d8887408ac3dfd907b826c5dfdfe953c21a0f
drivers/rtc/rtc-s3c.c: remove NO_IRQ macro

NO_IRQ may be defined as '(unsigned int) -1' in some architectures (arm,
sh ...), and either may not be defined in some architectures (arm64) which
can enable RTC_DRV_S3C.

Also since platform_get_irq returns err-code in case of any error, we do
not need to intialize s3c_rtc_alarmno and s3c_rtc_tickno.

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.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>
drivers/rtc/rtc-s3c.c