]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rtc: rv8803: stop setting max_user_freq
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 1 Nov 2025 00:45:09 +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.

Link: https://patch.msgid.link/20251101-max_user_freq-v1-7-c9a274fd6883@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rv8803.c

index 1327251e527c21cae4a247a62791ec3cbf0df067..4e9e04cbec89a0d0d3a8ae28d73dfe12469180b1 100644 (file)
@@ -738,8 +738,6 @@ static int rv8803_probe(struct i2c_client *client)
 
        devm_rtc_nvmem_register(rv8803->rtc, &nvmem_cfg);
 
-       rv8803->rtc->max_user_freq = 1;
-
        return 0;
 }