Skip to content

Commit 8010119

Browse files
rtc: rv3028: 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-5-c9a274fd6883@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 358867b commit 8010119

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/rtc/rtc-rv3028.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,8 +1023,6 @@ static int rv3028_probe(struct i2c_client *client)
10231023
eeprom_cfg.priv = rv3028;
10241024
devm_rtc_nvmem_register(rv3028->rtc, &eeprom_cfg);
10251025

1026-
rv3028->rtc->max_user_freq = 1;
1027-
10281026
#ifdef CONFIG_COMMON_CLK
10291027
rv3028_clkout_register_clk(rv3028, client);
10301028
#endif

0 commit comments

Comments
 (0)