]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rtc: rv3028: stop setting max_user_freq
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 1 Nov 2025 00:45:07 +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-5-c9a274fd6883@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rv3028.c

index c2a531f0e125be7514fb3ad2b11fdb670fb47a16..d96f6bb68850dadb578c49e54af263d1849a0fb5 100644 (file)
@@ -1023,8 +1023,6 @@ static int rv3028_probe(struct i2c_client *client)
        eeprom_cfg.priv = rv3028;
        devm_rtc_nvmem_register(rv3028->rtc, &eeprom_cfg);
 
-       rv3028->rtc->max_user_freq = 1;
-
 #ifdef CONFIG_COMMON_CLK
        rv3028_clkout_register_clk(rv3028, client);
 #endif