On Thu, 29 Oct 2020 at 21:20, Heinrich Schuchardt <[email protected]> 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 <[email protected]> > --- > drivers/rtc/emul_rtc.c | 18 ++++++++++++------ > 1 file changed, 12 insertions(+), 6 deletions(-) >
Reviewed-by: Simon Glass <[email protected]>

