Skip to content

Commit 893a596

Browse files
rtc: rv3032: 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. Link: https://patch.msgid.link/20251101-max_user_freq-v1-6-c9a274fd6883@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 8010119 commit 893a596

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/rtc/rtc-rv3032.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -968,8 +968,6 @@ static int rv3032_probe(struct i2c_client *client)
968968
eeprom_cfg.priv = rv3032;
969969
devm_rtc_nvmem_register(rv3032->rtc, &eeprom_cfg);
970970

971-
rv3032->rtc->max_user_freq = 1;
972-
973971
#ifdef CONFIG_COMMON_CLK
974972
rv3032_clkout_register_clk(rv3032, client);
975973
#endif

0 commit comments

Comments
 (0)