rtc: rx8010: stop setting max_user_freq
max_user_freq has not been related to the hardware RTC since commit
6610e0893b ("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-9-c9a274fd6883@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
pull/1354/merge
parent
69dd36c200
commit
48eca7ec00
|
|
@ -412,7 +412,6 @@ static int rx8010_probe(struct i2c_client *client)
|
||||||
}
|
}
|
||||||
|
|
||||||
rx8010->rtc->ops = &rx8010_rtc_ops;
|
rx8010->rtc->ops = &rx8010_rtc_ops;
|
||||||
rx8010->rtc->max_user_freq = 1;
|
|
||||||
rx8010->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000;
|
rx8010->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000;
|
||||||
rx8010->rtc->range_max = RTC_TIMESTAMP_END_2099;
|
rx8010->rtc->range_max = RTC_TIMESTAMP_END_2099;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue