
3 Nov
2020
3 Nov
'20
4:12 p.m.
On Thu, 29 Oct 2020 at 21:20, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Currently the emulated RTC is initialized in the emul_rtc_get() get function. This does not match the design of the driver model.
Move the initialization of the emulated RTC to the probe() function.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
drivers/rtc/emul_rtc.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org