Skip to content

Commit 1fd7078

Browse files
rtc: sh: 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. Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://patch.msgid.link/20251101-max_user_freq-v1-11-c9a274fd6883@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 9115815 commit 1fd7078

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/rtc/rtc-sh.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,6 @@ static int __init sh_rtc_probe(struct platform_device *pdev)
423423
writeb(tmp, rtc->regbase + RCR1);
424424

425425
rtc->rtc_dev->ops = &sh_rtc_ops;
426-
rtc->rtc_dev->max_user_freq = 256;
427426

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

0 commit comments

Comments
 (0)