Skip to content

Commit 90b0332

Browse files
rtc: pic32: stop setting max_user_freq
max_user_freq has not been related to the hardware RTC since commit 6610e08 ("RTC: Rework RTC code to use timerqueue for events"). Stop setting it from individual driver to avoid confusing new contributors. Link: https://patch.msgid.link/20251101-max_user_freq-v1-3-c9a274fd6883@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 56d9df4 commit 90b0332

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/rtc/rtc-pic32.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,6 @@ static int pic32_rtc_probe(struct platform_device *pdev)
340340
if (ret)
341341
goto err_nortc;
342342

343-
pdata->rtc->max_user_freq = 128;
344-
345343
pic32_rtc_setfreq(&pdev->dev, 1);
346344
ret = devm_request_irq(&pdev->dev, pdata->alarm_irq,
347345
pic32_rtc_alarmirq, 0,

0 commit comments

Comments
 (0)