Merge branch 'allocation-fixes' into integration
[firefly-linux-kernel-4.4.55.git] / drivers / rtc / rtc-mxc.c
index d814417bee8c08b68224fafcbeb39e7ca405fd5d..39e41fbdf08ba6de6259347feb0cc5dee76803d7 100644 (file)
@@ -55,12 +55,6 @@ static const u32 PIE_BIT_DEF[MAX_PIE_NUM][2] = {
        { MAX_PIE_FREQ, RTC_SAM7_BIT },
 };
 
-/* Those are the bits from a classic RTC we want to mimic */
-#define RTC_IRQF       0x80    /* any of the following 3 is active */
-#define RTC_PF         0x40    /* Periodic interrupt */
-#define RTC_AF         0x20    /* Alarm interrupt */
-#define RTC_UF         0x10    /* Update interrupt for 1Hz RTC */
-
 #define MXC_RTC_TIME   0
 #define MXC_RTC_ALARM  1