Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: pic32: stop setting max_user_freq

max_user_freq has not been related to the hardware RTC since commit
6610e0893b8b ("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>

-2
-2
drivers/rtc/rtc-pic32.c
··· 340 340 if (ret) 341 341 goto err_nortc; 342 342 343 - pdata->rtc->max_user_freq = 128; 344 - 345 343 pic32_rtc_setfreq(&pdev->dev, 1); 346 344 ret = devm_request_irq(&pdev->dev, pdata->alarm_irq, 347 345 pic32_rtc_alarmirq, 0,