rtc: sa1100: don't set PIE frequency
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 25 Jul 2018 13:17:44 +0000 (15:17 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 25 Jul 2018 13:29:43 +0000 (15:29 +0200)
It doesn't make sense to set the PIE frequency from the driver. Let
userspace do its job.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-sa1100.c

index ed71d11136276d1259e976bb0814909726d1f75a..304d905cb23fd20240cdb8b4953310cb5d1a1609 100644 (file)
@@ -224,7 +224,6 @@ int sa1100_rtc_init(struct platform_device *pdev, struct sa1100_rtc *info)
        info->rtc = rtc;
 
        rtc->max_user_freq = RTC_FREQ;
-       rtc_irq_set_freq(rtc, NULL, RTC_FREQ);
 
        /* Fix for a nasty initialization problem the in SA11xx RTSR register.
         * See also the comments in sa1100_rtc_interrupt().