]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rtc: renesas-rtca3: stop setting max_user_freq
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 1 Nov 2025 00:45:06 +0000 (01:45 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 3 Nov 2025 13:38:38 +0000 (14:38 +0100)
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.

Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20251101-max_user_freq-v1-4-c9a274fd6883@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-renesas-rtca3.c

index ab816bdf0d77610f56d2f49dd6ea9a63bc7e337b..a238ead6cf1a1fc9e8f1655f30f2a34157e18289 100644 (file)
@@ -772,7 +772,6 @@ static int rtca3_probe(struct platform_device *pdev)
                return PTR_ERR(priv->rtc_dev);
 
        priv->rtc_dev->ops = &rtca3_ops;
-       priv->rtc_dev->max_user_freq = 256;
        priv->rtc_dev->range_min = RTC_TIMESTAMP_BEGIN_2000;
        priv->rtc_dev->range_max = RTC_TIMESTAMP_END_2099;