Commit 9115815a authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: rx8025: 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-10-c9a274fd6883@bootlin.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 48eca7ec
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -565,8 +565,6 @@ static int rx8025_probe(struct i2c_client *client)
			clear_bit(RTC_FEATURE_ALARM, rx8025->rtc->features);
	}

	rx8025->rtc->max_user_freq = 1;

	set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rx8025->rtc->features);
	clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rx8025->rtc->features);