Commit 893a5963 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: rv3032: stop setting max_user_freq

max_user_freq has not been related to the hardware RTC since commit
6610e089 ("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: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 80101193
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -968,8 +968,6 @@ static int rv3032_probe(struct i2c_client *client)
	eeprom_cfg.priv = rv3032;
	devm_rtc_nvmem_register(rv3032->rtc, &eeprom_cfg);

	rv3032->rtc->max_user_freq = 1;

#ifdef CONFIG_COMMON_CLK
	rv3032_clkout_register_clk(rv3032, client);
#endif