Commit 90b03329 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: pic32: stop setting max_user_freq

max_user_freq has not been related to the hardware RTC since commit
6610e089 ("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: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 56d9df41
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -340,8 +340,6 @@ static int pic32_rtc_probe(struct platform_device *pdev)
	if (ret)
		goto err_nortc;

	pdata->rtc->max_user_freq = 128;

	pic32_rtc_setfreq(&pdev->dev, 1);
	ret = devm_request_irq(&pdev->dev, pdata->alarm_irq,
			       pic32_rtc_alarmirq, 0,