Commit 1fd7078f authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: sh: 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.

Reviewed-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://patch.msgid.link/20251101-max_user_freq-v1-11-c9a274fd6883@bootlin.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 9115815a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -423,7 +423,6 @@ static int __init sh_rtc_probe(struct platform_device *pdev)
	writeb(tmp, rtc->regbase + RCR1);

	rtc->rtc_dev->ops = &sh_rtc_ops;
	rtc->rtc_dev->max_user_freq = 256;

	if (rtc->capabilities & RTC_CAP_4_DIGIT_YEAR) {
		rtc->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_1900;